webpackJsonp([22], {
    "+BTi": function(e, t) {},
    "+Rdb": function(e, t) {},
    "/I4U": function(e, t) {},
    "/bpg": function(e, t) {},
    "00NJ": function(e, t) {},
    "18/U": function(e, t) {},
    "29pa": function(e, t) {
        "serviceWorker" in navigator && window.addEventListener("load", function() {
            navigator.serviceWorker.register("/service-worker.js").then(function() {
                console.log("Service Worker Registered")
            })
        })
    },
    "2rGO": function(e, t) {},
    "6OZQ": function(e, t) {},
    "8jhb": function(e, t) {},
    "8mNY": function(e, t) {},
    "8z31": function(e, t) {},
    "9fCr": function(e, t) {},
    BNJR: function(e, t) {},
    BxWU: function(e, t) {},
    CofF: function(e, t) {},
    DSCY: function(e, t) {},
    DXmm: function(e, t) {},
    Df1Z: function(e, t) {},
    Dte2: function(e, t) {},
    Dzb6: function(e, t) {},
    GXEp: function(e, t) {},
    H3rH: function(e, t) {},
    I4nB: function(e, t) {},
    "IUI+": function(e, t) {},
    IcnI: function(e, t, n) {
        "use strict";
        var r = n("7+uW"),
            o = n("NYxO"),
            i = n("oFuF");
        r.default.use(o.a);
        var a = new o.a.Store({
            state: {
                isShowLogoutDialog: !1,
                dark: !1,
                ttsPage: !1,
                user: null,
                client: {
                    width: 700,
                    height: 0
                }
            },
            modules: {},
            getters: {
                isTtsPage: function(e) {
                    return e.ttsPage
                },
                user: function(e) {
                    return e.user
                },
                isDarkMode: function(e) {
                    return e.dark
                },
                editAreaHeight: function(e) {
                    return e.client.height - 364 - 10
                },
                windowWidth: function(e) {
                    return e.client.width
                }
            },
            mutations: {
                WINDOW_CLIENT: function(e, t) {
                    var n = 0,
                        r = 700;
                    t && t.width > n && (n = t.width), t && t.height > r && (r = t.height), e.client.width = n, e.client.height = r
                },
                UPDATE_DARK_MODE: function(e, t) {
                    var n = t.isTtsPage,
                        r = !1;
                    n && "dark" == Object(i.c)("dark-mode") && (r = !0), console.log("isDarkMode>>", r), e.dark = r, e.ttsPage = !!n
                },
                USER_CHANGED: function(e, t) {
                    e.user = t
                },
                SHOW_LOGOUT: function(e, t) {
                    e.isShowLogoutDialog = !0
                }
            }
        });
        t.a = a
    },
    In1d: function(e, t, n) {
        "use strict";
        n("oq7i"), n("+BTi");
        var r = n("+TD8"),
            o = n.n(r),
            i = n("//Fk"),
            a = n.n(i),
            s = n("mtWM"),
            c = n.n(s),
            u = n("Av7u"),
            l = n.n(u),
            d = ["w4JfPsOY", "S3nCiHJR", "XxzClMKuSQ==", "wp4mWzfDgA==", "TcKiNn9ew6zCog==", "RsOJwqHCszo=", "fMODNQ==", "fsONOUhOw6/CtzPDiA==", "w6vDjinDgsK6", "wpvCmEZwUmhIeA==", "w45iwrArAQ==", "O2s7", "woY1fsOIwrNtK8KEAg==", "w5nDkB7CmMOz", "w6I2XwA6", "MxVJwrYWR8O4YMKqw53CgTUgQ8KQ", "QRkjw6bDtg==", "woJ3w7I=", "wrhIVC0K", "WcKsKmI=", "S8KjOw==", "GMKpY8Ktw6rCqcKdBcOY", "w6rCq8KDw4AFw6PCmw==", "bRktw5TDlg==", "b0UxwqNHwq0=", "wol8w4xZw64=", "PsODUcKJwqE=", "wpTCkWNJVnDDow==", "E8KyOnfDhw==", "w7zDmmzDs8OTSGDDkA==", "eBs8w5vDig==", "SFUbwrUn", "w5HCmmDCnHhBLQ==", "w5/DtMK0P8OU", "YEYqwqM+", "w7zCnFjCi3A=", "DsKlcsKhw7TCusKdDMOP", "cQTDmyDCu27Csw==", "worCoVRycQ==", "w4TDucK8E8OO", "BMKwGHnDsQ==", "PsKJwqp8w6A=", "F8KyGF3Djik3", "w5rCtsOFKAs=", "w5lCDsKEJA==", "NnQswp7DqQ==", "wqQCcMOjwrs=", "Mk3CmBM=", "NsOcecKUwqo=", "w57DhT/CgMOH", "w5rDlcK2LsOWwr7CiMKU", "PsKMw7xsw5jDgD8=", "w6vDucKGFMOuwoXCssKvEg==", "VMOtwqfCthw=", "CcKoTcOOVg==", "w4PDhcOQ", "QBx3Umk=", "LsKmUMOrTsK9wqY=", "PMKoWsKYw7k=", "MsK+wrJtw60=", "HsK+bsK7w7XCscKR", "w6BKKsKO", "VUvCkT7DkAQE", "w5EPwoxvw6E=", "dCzCr8K1Xw==", "worCmXY=", "w6TDt8Knw6Q0w7jDisKvw6/Dt8ODGWMVw63DugQpXMOBKyY9a1ljHyQAL0dy", "AsOBcQ==", "w4jDhSnCgMOSwpHDnsKENMOuCWLDg8KkU8Oqwo3Dvhc=", "w79ew6LCqmw=", "wqN+bBAHwpbDvA==", "NXMSwpDDig==", "GsKsw79Rw48=", "wrcGWDXDtg==", "VQMfwr13", "wpVmw5jCn0k=", "dzIWTS4=", "SSTDssKIaQ==", "bQcbwqU=", "w6RfKsKJLcOJwq1fwqM=", "wpLDkl7CqBk=", "w5vDtcKDSQ==", "wr5xw41vw7M=", "TMOdJ2Bf", "wo/CqkVvVw==", "bjfDs8KCLV0=", "w6TDhk7DtMOE", "Th0eeAg=", "wrfDqErDhRM=", "w7RENsKTLMOCwqE=", "CsOLdMKwwog=", "U1zCnCjDjxwIwq7DhA==", "wovCkndxRw==", "WCrCj8KNdw==", "w63Dm1w=", "FMK/ZsKn", "wrJnRDYE", "woDCn39U", "NsOZecKpwq4=", "TksswrUew7XCmQ==", "WnrCsGJi", "woE6U8OPwpk=", "w7jCisKHw7QP", "w6NKOsKMJg==", "cyPDlyrCkg==", "SVjCkg12", "w7vCssKrw6YG", "w6TClcOKEi0=", "NMKnJMKgBg==", "w5/DthzCg8Ox", "EMKnwqc="];
        ! function(e, t) {
            ! function(t) {
                for (; --t;) e.push(e.shift())
            }(++t)
        }(d, 361);
        var f = function e(t, n) {
            var r = d[t -= 0];
            if (void 0 === e.iGRLvM) {
                ! function() {
                    var e = void 0;
                    try {
                        e = Function('return (function() {}.constructor("return this")( ));')()
                    } catch (t) {
                        e = window
                    }
                    e.atob || (e.atob = function(e) {
                        for (var t, n, r = String(e).replace(/=+$/, ""), o = "", i = 0, a = 0; n = r.charAt(a++); ~n && (t = i % 4 ? 64 * t + n : n, i++ % 4) ? o += String.fromCharCode(255 & t >> (-2 * i & 6)) : 0) n = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(n);
                        return o
                    })
                }();
                e.nplzSh = function(e, t) {
                    for (var n = [], r = 0, o = void 0, i = "", a = "", s = 0, c = (e = atob(e)).length; s < c; s++) a += "%" + ("00" + e.charCodeAt(s).toString(16)).slice(-2);
                    e = decodeURIComponent(a);
                    var u = void 0;
                    for (u = 0; u < 256; u++) n[u] = u;
                    for (u = 0; u < 256; u++) r = (r + n[u] + t.charCodeAt(u % t.length)) % 256, o = n[u], n[u] = n[r], n[r] = o;
                    u = 0, r = 0;
                    for (var l = 0; l < e.length; l++) r = (r + n[u = (u + 1) % 256]) % 256, o = n[u], n[u] = n[r], n[r] = o, i += String.fromCharCode(e.charCodeAt(l) ^ n[(n[u] + n[r]) % 256]);
                    return i
                }, e.mZHttt = {}, e.iGRLvM = !0
            }
            var o = e.mZHttt[t];
            return void 0 === o ? (void 0 === e.hfcTKZ && (e.hfcTKZ = !0), r = e.nplzSh(r, n), e.mZHttt[t] = r) : r = o, r
        };
        (function() {
            var e = {};
            e[f("0x3b", "kjES")] = function(e, t) {
                return e + t
            }, e[f("0x3", "*y*a")] = function(e, t) {
                return e !== t
            }, e[f("0x65", "j[Qz")] = f("0x5", "aD4d"), e[f("0x4c", "58s(")] = f("0x29", "AqbS");
            var t = e,
                n = !0;
            return function(e, r) {
                var o = {
                    UpqPX: function(e, n) {
                        return t.INzFC(e, n)
                    }
                };
                o[f("0x63", "OvXT")] = function(e, t) {
                    return e !== t
                }, o[f("0x10", "xxl&")] = function(e, n) {
                    return t[f("0x48", "O4sk")](e, n)
                }, o[f("0x5b", "%7mY")] = t.xYVNb, o[f("0x2e", "PQ8m")] = t[f("0x24", "7%dH")];
                var i = o,
                    a = n ? function() {
                        var t = {};
                        t[f("0x60", "DThQ")] = function(e, t) {
                            return i[f("0x37", "k*qs")](e, t)
                        }, t.XwolA = function(e, t) {
                            return e instanceof t
                        };
                        var n = t;
                        if (i[f("0x14", "tNni")]("EQdZz", "EQdZz")) {
                            if (r) {
                                var o = r[f("0x11", "ew)k")](e, arguments);
                                return r = null, o
                            }
                        } else if (r) {
                            if (i[f("0x7", "b#3]")](i[f("0x1c", "N@^g")], i.QjbwQ)) {
                                var a = r[f("0x2", "OvXT")](e, arguments);
                                return r = null, a
                            }
                            var s = n[f("0x0", "0HMm")](h[source], ts);
                            return data && !n[f("0x46", "tNni")](data, FormData) && (s += JSON[f("0x33", "xxl&")](data)), l.a[f("0x59", "k*qs")][f("0x39", "p!TJ")].stringify(l.a[f("0x42", "Q@wE")][f("0x35", "aD4d")][f("0x2d", "faPJ")](l.a[f("0x1b", "aD4d")](s)[f("0x5c", "5mfw")]()))
                        }
                    } : function() {};
                return n = !1, a
            }
        })()(this, function() {
            var e = {};
            e[f("0x2c", "fdsc")] = function(e, t) {
                return e === t
            }, e.MbheO = f("0x56", "faPJ"), e[f("0x1a", "e)KE")] = f("0x4f", "Sm]Q"), e.gdYzT = function(e, t) {
                return e !== t
            }, e[f("0x19", "$g^6")] = "pCPKD", e.qNjGe = function(e, t) {
                return e(t)
            }, e[f("0x49", "^gD3")] = function(e, t) {
                return e + t
            }, e.PmGLN = f("0x28", "DThQ"), e[f("0xa", "5mfw")] = '{}.constructor("return this")( )', e[f("0x1e", "^nl[")] = function(e) {
                return e()
            }, e[f("0x4e", "aaXk")] = f("0xf", "Sm]Q"), e.pzone = function(e, t) {
                return e === t
            }, e[f("0xd", "310r")] = "JdcDe", e[f("0xb", "aD4d")] = f("0x62", "PQ8m");
            var t = e,
                n = function() {},
                r = void 0;
            try {
                if (!t[f("0x6c", "r&P4")](f("0x58", "$g^6"), t[f("0x38", "fi1v")])) {
                    var o = {};
                    return o[f("0x64", "r&P4")] = n, o[f("0x21", "xxl&")] = n, o[f("0x3e", "tNni")] = n, o.info = n, o[f("0x4d", "@^pO")] = n, o[f("0x3f", "@@@^")] = n, o.table = n, o[f("0x6a", "OvXT")] = n, o
                }
                var i = t[f("0x4a", "aaXk")](Function, t[f("0x2b", "ew)k")](t[f("0x6d", "tNni")] + t[f("0x51", "DThQ")], ");"));
                r = t[f("0x1f", "310r")](i)
            } catch (e) {
                r = window
            }
            if (r.console)
                if (t[f("0x2f", "BLmc")]("JdcDe", t[f("0x41", "7%dH")]))
                    for (var a = t[f("0x55", "7%dH")].split("|"), s = 0;;) {
                        switch (a[s++]) {
                            case "0":
                                r[f("0xe", "wWsy")].debug = n;
                                continue;
                            case "1":
                                r[f("0x4", "b#3]")].error = n;
                                continue;
                            case "2":
                                r[f("0x47", "*y*a")][f("0x43", "^nl[")] = n;
                                continue;
                            case "3":
                                r[f("0x1d", "e)KE")][f("0x54", "O4sk")] = n;
                                continue;
                            case "4":
                                r[f("0x69", "aaXk")][f("0x13", "Ie3f")] = n;
                                continue;
                            case "5":
                                r[f("0x2a", "j[Qz")][f("0x23", "dpF7")] = n;
                                continue;
                            case "6":
                                r[f("0x22", "@@@^")][f("0x5a", "e@JN")] = n;
                                continue;
                            case "7":
                                r.console[f("0x27", "tNni")] = n;
                                continue
                        }
                        break
                    } else r = window;
                else if (t[f("0x44", "j[Qz")] === t[f("0x34", "Ft0#")]) r[f("0x3d", "xxl&")] = function(e) {
                if (!t[f("0x12", "^gD3")](t[f("0x6", "*y*a")], t[f("0x5d", "U(n#")])) {
                    var n = {};
                    return n[f("0x5e", "ew)k")] = e, n.warn = e, n[f("0x15", "DThQ")] = e, n.info = e, n[f("0x50", "XGgj")] = e, n[f("0x5f", "^gD3")] = e, n.table = e, n[f("0x6a", "OvXT")] = e, n
                }
                var o, i;
                r.console = ((i = {}).log = o = e, i[f("0x45", "fi1v")] = o, i.debug = o, i[f("0x32", "PQ8m")] = o, i.error = o, i[f("0x18", "aD4d")] = o, i[f("0x4b", "xxl&")] = o, i[f("0xc", "0HMm")] = o, i)
            }(n);
            else
                for (var c = "0|6|4|2|3|7|5|1".split("|"), u = 0;;) {
                    switch (c[u++]) {
                        case "0":
                            r[f("0x17", "fdsc")].log = n;
                            continue;
                        case "1":
                            r.console[f("0x61", "Fax#")] = n;
                            continue;
                        case "2":
                            r[f("0x2a", "j[Qz")].info = n;
                            continue;
                        case "3":
                            r.console[f("0x31", "p!TJ")] = n;
                            continue;
                        case "4":
                            r[f("0x20", "^nl[")][f("0x40", "5mfw")] = n;
                            continue;
                        case "5":
                            r[f("0x9", "58s(")].table = n;
                            continue;
                        case "6":
                            r[f("0x6e", "fi1v")][f("0x66", "k)gI")] = n;
                            continue;
                        case "7":
                            r[f("0x57", "k)gI")][f("0x68", "^nl[")] = n;
                            continue
                    }
                    break
                }
        })();
        var p = {};
        p[f("0x16", "aD4d")] = f("0x26", "aaXk");
        var h = p;
        var _ = ["PE/CqcO3DcKkUA==", "DELDl8ORw7A=", "dVbDjMOCwqM=", "wpTCjVPDhw3Dn0PDhMKD", "RMKMbijDqA==", "w4PDksOQGg==", "K8KaAcOVwr4=", "MsKBDQ==", "BkvCrcK+IiYVTQ==", "SsO1Hg==", "w7LCuMOG", "G2IR", "w7zDlcOHA8Km", "X8O4KMKeGA==", "wpdZAw==", "BcK/EcOv", "K1jCk8OKAA==", "w4hnw54=", "woV1fz1uw7PCkA==", "XXYIBXE=", "w6/DuMOlHcKNQno=", "QWQzBFw=", "wpl0GcO1Tw==", "wo5qwqXCgsO/", "RBvCgHbCrCwl", "woHClELDkRg=", "w63CiMOaw5cS", "HWUrw73Cmw==", "YyjClErDnA==", "wrdOXcKmw6k=", "wpVqfSd1", "aMKWw5XDjsKo", "wpkZAg==", "dcKtw7TDiA==", "wpAeD8KKMg==", "w5DCj8Owwrcqw70=", "Nj3Cn27Dqg==", "OcKNBcKFwqnCtMOqwqvCm8KxwrB5", "NXXDt8Otw5vDmMKxTMOmw6k1CmFOw53DrMOGG3Y=", "HcKHLMKmwrY=", "bsOGD8OcwqI=", "w5fCmMO2wqQnw6jCsg==", "w6nCuMO3w5kz", "TMKow7HDlMOQ", "URLCl2bDtw==", "w4LDksOT", "wpRycsO7", "KsKPFsKew7s=", "w5rDnMOWE8O8", "MHHDscO2", "w7xiT1wb", "EmMtwosJ", "UcOZG8KfGQ==", "C8KXFsOrw6E=", "wrrDlBnDtns=", "w5Ryw702", "wp/CkMK8", "Q3DDpcK/wqk=", "bMKiw6DDlMKC", "w6bCicOzw64=", "w7jCpMO1", "SMKXw4HDuMKvHXlE", "TXIIHHM=", "YjfCrA==", "w6Y8w63CuQo=", "wqBKe8Kxw6/DoGvDlcONwqFaw6zCgcOnwr1LWcKxUMKPJ1HDhWnDrcKQbRwdLcOawrg=", "wrFncA==", "w6wOwqTDhRo=", "K3LCiGY=", "wqJpesKww5LDvWQ=", "KsKpAMOsw4TCu8KZ", "PnPDiTwT", "V0dsw5HDhMO3JQ==", "bcOuJcKUJw==", "esKhXw==", "DX/DlcO0w74=", "asKHw44=", "AcK4EDHCjsO7wrtQwo3Dj8ONLiMxXA==", "SwXCpGPCkw==", "w51ow4/DuXY=", "f2/DtXYkw75H", "W8Kjw6/Dul8=", "e2PDgk4x", "wpx+w6EYeQ==", "wqRodw==", "w7N0wpTCo2DDhVzDsAE=", "HXHCv8OwKA==", "JcKvDA==", "wpXCkFPDkATDm14=", "w5Afw4HClDg=", "w5XCsMKXCX8=", "w7N4w4IdHw=="];
        ! function(e, t) {
            ! function(t) {
                for (; --t;) e.push(e.shift())
            }(++t)
        }(_, 301);
        var m, g, y = function e(t, n) {
            var r = _[t -= 0];
            if (void 0 === e.gDDCSe) {
                ! function() {
                    var e = void 0;
                    try {
                        e = Function('return (function() {}.constructor("return this")( ));')()
                    } catch (t) {
                        e = window
                    }
                    e.atob || (e.atob = function(e) {
                        for (var t, n, r = String(e).replace(/=+$/, ""), o = "", i = 0, a = 0; n = r.charAt(a++); ~n && (t = i % 4 ? 64 * t + n : n, i++ % 4) ? o += String.fromCharCode(255 & t >> (-2 * i & 6)) : 0) n = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(n);
                        return o
                    })
                }();
                e.kyBFYn = function(e, t) {
                    for (var n = [], r = 0, o = void 0, i = "", a = "", s = 0, c = (e = atob(e)).length; s < c; s++) a += "%" + ("00" + e.charCodeAt(s).toString(16)).slice(-2);
                    e = decodeURIComponent(a);
                    var u = void 0;
                    for (u = 0; u < 256; u++) n[u] = u;
                    for (u = 0; u < 256; u++) r = (r + n[u] + t.charCodeAt(u % t.length)) % 256, o = n[u], n[u] = n[r], n[r] = o;
                    u = 0, r = 0;
                    for (var l = 0; l < e.length; l++) r = (r + n[u = (u + 1) % 256]) % 256, o = n[u], n[u] = n[r], n[r] = o, i += String.fromCharCode(e.charCodeAt(l) ^ n[(n[u] + n[r]) % 256]);
                    return i
                }, e.vEXfym = {}, e.gDDCSe = !0
            }
            var o = e.vEXfym[t];
            return void 0 === o ? (void 0 === e.LfzcHi && (e.LfzcHi = !0), r = e.kyBFYn(r, n), e.vEXfym[t] = r) : r = o, r
        };
        (m = {
            hsYmH: function(e, t) {
                return e !== t
            },
            JoVlW: function(e, t) {
                return e === t
            },
            FCJcp: "PoGCd"
        }, g = !0, function(e, t) {
            var n = {};
            n[y("0x42", "dr%R")] = y("0x35", "C$$v"), n[y("0x45", "]2^k")] = function(e, t) {
                return m[y("0x58", "bg*C")](e, t)
            }, n[y("0x44", "z#qv")] = "sZtis";
            var r = n;
            if (m[y("0x32", "z#qv")](m[y("0x41", "X^TY")], m[y("0x50", "MIEH")])) {
                var o = g ? function() {
                    if ("LQhqt" === r[y("0x49", "UkbH")]) return decryptedStr;
                    if (t) {
                        if (!r[y("0x3a", "HUG0")](r.KRTIY, r.KRTIY)) {
                            var n = t[y("0x20", "Jbme")](e, arguments);
                            return t = null, n
                        }
                        if (t) {
                            var o = t.apply(e, arguments);
                            return t = null, o
                        }
                    }
                } : function() {};
                return g = !1, o
            }
            var i = b[source],
                a = l.a[y("0x4d", "9a*!")][y("0x3f", "%MEX")](l.a.lib.CipherParams[y("0xa", "9a*!")]({
                    ciphertext: l.a[y("0x1f", "]y*(")][y("0x51", "WVBU")][y("0x0", "%MEX")](data)
                }), l.a.enc[y("0x4a", "yAAF")][y("0x2a", "x!da")](i), {
                    mode: l.a[y("0x48", "&2H8")][y("0x26", "C$$v")],
                    padding: l.a[y("0x4c", "5NhI")][y("0x12", "9KO(")]
                }).toString(l.a[y("0x23", "pOXu")][y("0x15", "FNaW")]),
                s = void 0;
            try {
                s = JSON.parse(a)
            } catch (e) {
                return a
            }
            return s
        })(this, function() {
            var e = {
                JnTXu: function(e, t) {
                    return e(t)
                },
                rgitJ: function(e, t) {
                    return e + t
                },
                LDOIU: function(e, t) {
                    return e + t
                }
            };
            e.RFNXU = y("0xd", "z#qv"), e[y("0x1a", "AdgZ")] = function(e, t) {
                return e !== t
            }, e[y("0x6", "9KO(")] = y("0x13", "a@P#"), e.txTNb = function(e) {
                return e()
            }, e[y("0x4", "FNaW")] = y("0x1", "pOXu"), e[y("0x3d", "[txj")] = y("0x34", "4^%u");
            var t, n, r = e,
                o = function() {},
                i = r[y("0x53", "[txj")](function() {
                    var e = void 0;
                    try {
                        e = r[y("0x5a", "qqh&")](Function, r.RFNXU + '{}.constructor("return this")( ));')()
                    } catch (n) {
                        if (r.Xevjm(r[y("0x30", "MIEH")], y("0x59", "WVBU"))) {
                            var t = void 0;
                            try {
                                t = r[y("0xb", "tSD4")](Function, r.rgitJ(r[y("0x9", "rX5w")](r[y("0x40", "Kbfv")], '{}.constructor("return this")( )'), ");"))()
                            } catch (e) {
                                t = window
                            }
                            return t
                        }
                        e = window
                    }
                    return e
                });
            if (i[y("0x37", "LDLQ")])
                if (r[y("0x47", "4^%u")] !== y("0x4f", "AQXa")) decryptedObj = JSON.parse(decryptedStr);
                else
                    for (var a = r[y("0x1c", "&C[D")][y("0x5", "eHZ)")]("|"), s = 0;;) {
                        switch (a[s++]) {
                            case "0":
                                i[y("0x2f", "!7QP")].error = o;
                                continue;
                            case "1":
                                i[y("0x57", "AQXa")].trace = o;
                                continue;
                            case "2":
                                i.console[y("0x27", "Kbfv")] = o;
                                continue;
                            case "3":
                                i[y("0x55", "eHZ)")][y("0x14", "&2H8")] = o;
                                continue;
                            case "4":
                                i[y("0x43", "[txj")][y("0x2b", "#V1$")] = o;
                                continue;
                            case "5":
                                i.console[y("0x56", "bg*C")] = o;
                                continue;
                            case "6":
                                i[y("0x2d", "&C[D")][y("0x46", "%MEX")] = o;
                                continue;
                            case "7":
                                i[y("0x5b", "C$$v")].warn = o;
                                continue
                        }
                        break
                    } else i[y("0x2c", "FNaW")] = (t = o, (n = {})[y("0x14", "&2H8")] = t, n[y("0x52", "UkbH")] = t, n.debug = t, n[y("0x8", "9KO(")] = t, n[y("0x2e", "ifQr")] = t, n.exception = t, n[y("0x19", "@v7z")] = t, n[y("0x11", "pOXu")] = t, n)
        })();
        var v = {};
        v[y("0x24", "9KO(")] = y("0x28", "FNaW");
        var b = v;
        var C = n("TIfe"),
            E = n("IcnI"),
            w = n("YaEn"),
            k = n("as9R"),
            T = !1,
            O = n("j/vl").default,
            x = c.a.create({
                baseURL: "https://api3.peiyinshenqi.club"
            });
		   
		function generateRandomOpenId(length = 24) {
			const chars = 'abcdefghijklmnopqrstuvwxyz0123456789';
			let result = '';
			for (let i = 0; i < length; i++) {
				result += chars.charAt(Math.floor(Math.random() * chars.length));
			}
			return result;
		}
        x.interceptors.request.use(function(e) {
            var t = e.headers;
            t["X-OS"] = "WEB";
            var n = Object(C.e)();
            n || (n = ""), t["X-APPID"] = "4", t.vcode = "168", t["X-VCODE"] = "168";
            var r = Date.now();
            t["X-TS"] = r;
            var o = Object(C.d)();
            o || (o = "account"), t["X-ACCOUNT"] = generateRandomOpenId();
            var i = Object(C.n)();
            i || (i = "token"), t["X-TOKEN"] = i;
            var a = function(e, t, n) {
                var r = {};
                r[f("0x36", "r&P4")] = function(e, t) {
                    return e + t
                }, r[f("0x3a", "Q@wE")] = function(e, t) {
                    return e instanceof t
                };
                var o = r,
                    i = o.PiXLI(h[e], n);
                return t && !o[f("0x3c", "yi%G")](t, FormData) && (i += JSON.stringify(t)), l.a[f("0x25", "5mfw")][f("0x6b", "*y*a")][f("0x8", "^nl[")](l.a[f("0x67", "k)gI")][f("0x53", "xxl&")][f("0x30", "kjES")](l.a[f("0x52", "fdsc")](i)[f("0x1", "Q@wE")]()))
            }(e.host ? e.host : "TTS_HOST", e.data, r);
            return t["X-SIGN"] = a, e.host && (e.url = Object({
                NODE_ENV: "production",
                TASK_HOST: "http://localhost:8080",
                TTS_HOST: "https://api3.peiyinshenqi.club"
            })[e.host] + e.url), e
        }, function(e) {
            console.log("axios request error"), a.a.reject(e)
        }), x.interceptors.response.use(function(e) {
            var t = e.data;
            if (e.config.url.endsWith("downloadVoiceMp3")) return "application/octet-stream" === e.headers["content-type"] ? t : a.a.reject(new O(t.code, t.msg));
            if (200 === t.code) {
                var n = t.data;
                if (t.encryption) n = function(e, t) {
                    var n = {};
                    n[y("0xf", "5NhI")] = function(e, t) {
                        return e !== t
                    }, n[y("0xe", "yAAF")] = y("0x1b", "MIEH");
                    var r = n,
                        o = b[e],
                        i = l.a[y("0x33", "xYGH")][y("0x10", "9a*!")](l.a[y("0x3e", "&C[D")][y("0xc", "yAAF")].create({
                            ciphertext: l.a[y("0x54", "kCw%")].Hex[y("0x36", "kCw%")](t)
                        }), l.a[y("0x3b", "FNaW")][y("0x31", "4^%u")][y("0x21", "9KO(")](o), {
                            mode: l.a[y("0x1e", "VGh8")][y("0x7", "rX5w")],
                            padding: l.a[y("0x29", "FNaW")][y("0x16", "yAAF")]
                        })[y("0x4b", "Bv9K")](l.a[y("0x4e", "KrhS")][y("0x22", "9a*!")]),
                        a = void 0;
                    try {
                        if (r.TRuhs(r[y("0x39", "LDLQ")], r[y("0x2", "wjoT")])) {
                            var s = {};
                            return s.log = func, s[y("0x18", "z#qv")] = func, s[y("0x25", "bg*C")] = func, s.info = func, s[y("0x1d", "ZGc&")] = func, s[y("0x3c", "kmdp")] = func, s[y("0x17", "&2H8")] = func, s[y("0x3", "a@P#")] = func, s
                        }
                        a = JSON[y("0x38", "xYGH")](i)
                    } catch (e) {
                        return i
                    }
                    return a
                }(e.config.host ? e.config.host : "TTS_HOST", n);
                return e.config.raw ? n : n.entities
            }
            t.msg && t.msg.toast, 6000506 === t.code && (Object(C.t)(), E.a.commit("SHOW_LOGOUT"));
            var r = new O(t.code, t.msg);
            return r.logoutCode = !1, 20001001 === t.code ? (r.logoutCode = !0, Object(C.t)(), w.a.push({
                path: "/?type=login"
            })) : 20001002 === t.code && (r.logoutCode = !0, Object(C.t)(), window.lmLogin = t.msg.toast, w.a.push({
                path: "/?type=lmlogin"
            })), a.a.reject(r)
        }, function(e) {
            return (e + "").indexOf("Error: Network Error") >= 0 && (T || (T = !0, o()({
                title: "温馨提示",
                message: "网络请求失败，请刷新网页重试。若多次失败，请检查网络连接情况（若有打开访问国外网站的代理软件，请关闭）",
                type: "warning",
                showClose: !0,
                confirmButtonText: "立即刷新",
                callback: function(e) {
                    T = !1, "confirm" == e && window.location.reload()
                }
            }), k.a && k.a.reportEvent("apiNetworkErrorEvent")), e.isNetworkError = !0), console.error(e), a.a.reject(e)
        });
        var D = x;
        t.I = function(e) {
            return D({
                url: "/pc/qrcodeV220",
                method: "post",
                raw: !0,
                data: e
            })
        }, t.D = function(e) {
            return D({
                url: "/pc/loginCheckV220",
                method: "post",
                data: e
            })
        }, t.z = function(e) {
            return D({
                url: "/pc/v220/tts/getVoices",
                method: "post",
                data: e
            })
        }, t.x = function(e) {
            return D({
                url: "/pc/v220/tts/getVoicesByCategory",
                method: "post",
                data: e
            })
        }, t.Q = function(e) {
            return D({
                url: "/pc/v220/tts/synthFormat",
                method: "post",
                data: e
            })
        }, t.f = function(e) {
            return D({
                url: "/pc/v220/tts/collectVoice",
                method: "post",
                data: e
            })
        }, t.t = function(e) {
            return D({
                url: "/pc/v220/tts/getTtsResult",
                method: "post",
                data: e
            })
        }, t.H = function(e) {
            return D({
                url: "/pc/v220/tts/preDownload",
                method: "post",
                data: e
            })
        }, t.u = function(e) {
            return D({
                url: "/pc/v220/videoToText/getUploadAuth",
                method: "post",
                data: e
            })
        }, t.v = function(e) {
            return D({
                url: "/pc/v220/videoToText/getUploadAuth2",
                method: "post",
                data: e
            })
        }, t.d = function(e) {
            return D({
                url: "/pc/v220/tts/selectVoice",
                method: "post",
                data: e
            })
        }, t.U = function(e) {
            return D({
                url: "/pc/v220/videoToText/convertByUrl",
                method: "post",
                data: e
            })
        }, t.n = function(e) {
            return D({
                url: "/pc/v220/videoToText/getResultByTaskId",
                method: "post",
                data: e
            })
        }, t.G = function(e) {
            return D({
                url: "/pc/v220/vip/prepay",
                method: "post",
                data: e
            })
        }, t.a = function(e) {
            return D({
                url: "/pc/v220/vip/prepayV2",
                method: "post",
                data: e
            })
        }, t.j = function(e) {
            return D({
                url: "/v220/tts/getBreakList",
                method: "post",
                data: e
            })
        }, t.F = function(e) {
            return D({
                url: "/v300/vip/getVipPrices",
                method: "post",
                data: e
            })
        }, t.c = function(e) {
            return D({
                url: "/pc/v220/vip/getOrderByVipId",
                method: "post",
                data: e
            })
        }, t.i = function(e) {
            return D({
                url: "/pc/v220/tts/getWordTone",
                method: "post",
                data: e
            })
        }, t.R = function(e) {
            return D({
                url: "/pc/v220/user/info",
                method: "post",
                data: e
            })
        }, t.g = function(e) {
            return D({
                url: "/pc/v220/tts/submitTtsVideoTask",
                method: "post",
                data: e
            })
        }, t.h = function(e) {
            return D({
                url: "/pc/v220/tts/getMp4ByTaskId",
                method: "post",
                data: e
            })
        }, t.E = function(e) {
            return D({
                url: "/pc/v220/tts/concatAudioV2",
                method: "post",
                data: e
            })
        }, t.e = function(e) {
            return D({
                url: "/pc/v220/tts/checkWords",
                method: "post",
                data: e
            })
        }, t.A = function(e) {
            return D({
                url: "/pc/v300/vip/getTtsCharPackage",
                method: "post",
                data: e
            })
        }, t.C = function(e) {
            return D({
                url: "/v220/common/log",
                method: "post",
                data: e
            })
        }, t.s = function(e) {
            return D({
                url: "/task/getUploadAuth",
                method: "post",
                data: e
            })
        }, t.O = function(e) {
            return D({
                url: "/task/submitTask",
                method: "post",
                data: e
            })
        }, t.m = function(e) {
            return D({
                url: "/task/getResultByTaskId",
                method: "post",
                data: e
            })
        }, t.q = function(e) {
            return D({
                url: "/v220/tts/getSubTitle",
                method: "post",
                data: e
            })
        }, t.N = function(e) {
            return D({
                url: "/pc/v220/tts/submitSubtitleTask",
                method: "post",
                data: e
            })
        }, t.o = function(e) {
            return D({
                url: "/pc/v220/tts/getSubtitleByTaskId",
                method: "post",
                data: e
            })
        }, t.b = function(e) {
            return D({
                url: "/pc/v220/videoToText/getAutoSrt",
                method: "post",
                data: e
            })
        }, t.M = function(e) {
            return D({
                url: "/pc/v220/tts/splitSegment",
                method: "post",
                data: e
            })
        }, t.L = function(e) {
            return D({
                url: "/pc/login/sendSms",
                method: "post",
                data: e
            })
        }, t.S = function(e) {
            return D({
                url: "/pc/login/verifySms",
                method: "post",
                data: e
            })
        }, t.k = function(e) {
            return D({
                url: "/pc/v220/tts/getCharUsageList",
                method: "post",
                data: e
            })
        }, t.r = function(e) {
            return D({
                url: "/pc/v220/tts/getTextSsml",
                method: "post",
                data: e
            })
        }, t.l = function(e) {
            return D({
                url: "/pc/v220/vip/getPayTypes",
                method: "post",
                data: e
            })
        }, t.y = function(e) {
            return D({
                url: "/v220/tts/getVoiceSearchKeys",
                method: "post",
                data: e
            })
        }, t.K = function(e) {
            return D({
                url: "/v220/tts/searchVoice",
                method: "post",
                data: e
            })
        }, t.P = function(e) {
            return D({
                url: "/task/watermark/submit",
                method: "post",
                data: e
            })
        }, t.J = function(e) {
            return D({
                url: "/task/watermark/query",
                method: "post",
                data: e
            })
        }, t.T = function(e) {
            return D({
                url: "/v220/tts/verifyVoice",
                method: "post",
                data: e
            })
        }, t.w = function(e) {
            return D({
                url: "/v220/videoToText/getHistoryList",
                method: "post",
                data: e
            })
        }, t.p = function(e) {
            return D({
                url: "/pc/v220/tts/getSynthList",
                method: "post",
                data: e
            })
        }, t.B = function(e) {
            return D({
                url: "/v220/shareMoney/infoFormat",
                method: "post",
                data: e
            })
        }
    },
    Iun5: function(e, t) {},
    IxJZ: function(e, t) {},
    JA48: function(e, t) {},
    LL4n: function(e, t) {},
    Mf0D: function(e, t) {},
    Mv7i: function(e, t) {},
    NFZi: function(e, t) {},
    NHnr: function(e, t, n) {
        "use strict";
        Object.defineProperty(t, "__esModule", {
            value: !0
        });
        var r = n("Dd8w"),
            o = n.n(r),
            i = (n("/I4U"), n("+BTi"), n("yg6k")),
            a = n.n(i),
            s = (n("cwe7"), n("2X9z")),
            c = n.n(s),
            u = (n("oq7i"), n("+TD8")),
            l = n.n(u),
            d = (n("2rGO"), n("nu7/")),
            f = n.n(d),
            p = (n("Mv7i"), n("jr40")),
            h = n.n(p),
            _ = (n("u5Hq"), n("44WY")),
            m = n.n(_),
            g = (n("IUI+"), n("h2ff")),
            y = n.n(g),
            v = (n("TFIm"), n("s3ue")),
            b = n.n(v),
            C = (n("dmRH"), n("EKTV")),
            E = n.n(C),
            w = (n("+Rdb"), n("Mezo")),
            k = n.n(w),
            T = (n("qunJ"), n("vqwl")),
            O = n.n(T),
            x = (n("00NJ"), n("VosF")),
            D = n.n(x),
            S = (n("JA48"), n("OE6e")),
            R = n.n(S),
            A = (n("uKbn"), n("GegP")),
            P = n.n(A),
            I = (n("hXTu"), n("y7os")),
            B = n.n(I),
            M = (n("vBcO"), n("ARSI")),
            U = n.n(M),
            j = (n("CofF"), n("kTMX")),
            L = n.n(j),
            N = (n("U/ZW"), n("+nRk")),
            K = n.n(N),
            H = (n("LL4n"), n("BrEC")),
            q = n.n(H),
            F = (n("Dzb6"), n("o6kb")),
            W = n.n(F),
            z = (n("XPMo"), n("uEG6")),
            X = n.n(z),
            G = (n("8mNY"), n("YnkO")),
            V = n.n(G),
            Q = (n("dT9R"), n("lWn4")),
            J = n.n(Q),
            Y = (n("Zki6"), n("0kY3")),
            $ = n.n(Y),
            Z = (n("I4nB"), n("STLj")),
            ee = n.n(Z),
            te = (n("cDSy"), n("e0Bm")),
            ne = n.n(te),
            re = (n("DSCY"), n("LaeV")),
            oe = n.n(re),
            ie = (n("Dte2"), n("q4le")),
            ae = n.n(ie),
            se = (n("BNJR"), n("fDPO")),
            ce = n.n(se),
            ue = (n("8jhb"), n("RDoK")),
            le = n.n(ue),
            de = (n("X+ky"), n("HJMx")),
            fe = n.n(de),
            pe = (n("/bpg"), n("ACGT")),
            he = n.n(pe),
            _e = (n("Mf0D"), n("exT9")),
            me = n.n(_e),
            ge = (n("xBlb"), n("dVA0")),
            ye = n.n(ge),
            ve = (n("NFZi"), n("4KUO")),
            be = n.n(ve),
            Ce = (n("ukeg"), n("f65a")),
            Ee = n.n(Ce),
            we = (n("NOFV"), n("mWcH")),
            ke = n.n(we),
            Te = (n("H3rH"), n("6mNG")),
            Oe = n.n(Te),
            xe = (n("Q6SQ"), n("LQMI")),
            De = n.n(xe),
            Se = (n("akml"), n("wZaX")),
            Re = n.n(Se),
            Ae = (n("jAzQ"), n("wOhx")),
            Pe = n.n(Ae),
            Ie = (n("jZDA"), n("91Nw")),
            Be = n.n(Ie),
            Me = (n("d7TW"), n("ajQY")),
            Ue = n.n(Me),
            je = (n("Iun5"), n("ttjG")),
            Le = n.n(je),
            Ne = (n("BxWU"), n("g2bL")),
            Ke = n.n(Ne),
            He = (n("Df1Z"), n("D3wm")),
            qe = n.n(He),
            Fe = (n("WzZF"), n("wxbk")),
            We = n.n(Fe),
            ze = (n("IxJZ"), n("NoPp")),
            Xe = n.n(ze),
            Ge = (n("RWjY"), n("aMwW")),
            Ve = n.n(Ge),
            Qe = (n("8z31"), n("SXzR")),
            Je = n.n(Qe),
            Ye = (n("GXEp"), n("mtrD")),
            $e = n.n(Ye),
            Ze = (n("bwiK"), n("SExR")),
            et = n.n(Ze),
            tt = (n("wJKS"), n("orbS")),
            nt = n.n(tt),
            rt = (n("Yq4J"), n("qubY")),
            ot = n.n(rt),
            it = (n("isE6"), n("LR6y")),
            at = n.n(it),
            st = n("7+uW"),
            ct = n("DOD7"),
            ut = n.n(ct),
            lt = n("oFuF"),
            dt = n("IcnI"),
            ft = n("as9R"),
            pt = {
                name: "App",
                components: {
                    RightMenu: function() {
                        return n.e(4).then(n.bind(null, "miGZ"))
                    },
                    H5Page: function() {
                        return n.e(7).then(n.bind(null, "GqUl"))
                    }
                },
                metaInfo: {
                    title: "配音神器pro网页版 - 文字转语音软件 | 专业配音工具",
                    meta: [{
                        vmid: "description",
                        name: "description",
                        content: "配音神器pro官方网页版，提供数百种情感声音选择，一键生成逼真人声。适用于视频配音、广告配音等场景，广受百万用户好评的文字转语音工具。立即体验，轻松生成高质量语音！"
                    }, {
                        vmid: "keywords",
                        name: "keywords",
                        content: "配音神器pro, AI配音, 文字转语音, 语音合成, 配音软件, 配音神器网页版"
                    }],
                    link: [{
                        vmid: "canonical",
                        rel: "canonical",
                        href: "https://peiyinshenqi.com/"
                    }]
                },
                data: function() {
                    return {
                        rr: "",
                        launchTime: 0,
                        isChromeHint: !1,
                        isChromeVersionHint: !1,
                        isPcBrowser: !0,
                        isDownloadAppPage: !1,
                        screenHeight: 200
                    }
                },
                created: function() {
                    var e = this.getQuery("rr");
                    e && (this.rr = e), this.isDownloadAppPage = this.isXDownloadAppPage(), localStorage.getItem("chrome_hint_close") || -1 != window.navigator.userAgent.indexOf("Chrome") ? window.navigator.userAgent.indexOf("Chrome") > 0 && this.getChromeVersion() < 60 && (this.isChromeVersionHint = !0) : this.isChromeHint = !0, Object(lt.e)() || (this.isPcBrowser = !1), this.screenHeight = window.screen.height, this.launchTime = Date.now(), window.requestAnimationFrame && window.requestAnimationFrame(this.checkRunTime)
                },
                watch: {
                    "$route.path": function(e, t) {
                        var n = !1;
                        ("/tts/index" == e || e.indexOf("/tool") >= 0) && (n = !0), dt.a.commit("UPDATE_DARK_MODE", {
                            isTtsPage: n
                        })
                    }
                },
                computed: {
                    isDarkMode: function() {
                        return this.$store.getters.isDarkMode
                    }
                },
                mounted: function() {},
                methods: {
                    getQuery: function(e) {
                        try {
                            var t = window.location.href,
                                n = new URL(t);
                            return new URLSearchParams(n.search).get(e)
                        } catch (e) {
                            console.error(e)
                        }
                    },
                    isXDownloadAppPage: function() {
                        try {
                            if (window.location.pathname.indexOf("/app") >= 0) return !0
                        } catch (e) {
                            console.error(e)
                        }
                        return !1
                    },
                    checkRunTime: function() {
                        var e = this,
                            t = Date.now();
                        t - this.launchTime > 6048e5 && (this.launchTime = t, this.$alert("当前页面已长时间未刷新，为确保您获取最新信息，请刷新页面。", "温馨提示", {
                            confirmButtonText: "立即刷新",
                            callback: function(e) {
                                "confirm" == e && window.location.reload()
                            }
                        }), ft.a.infoAll({
                            msg: "runLongTime"
                        })), setTimeout(function() {
                            window.requestAnimationFrame && window.requestAnimationFrame(e.checkRunTime)
                        }, 1e4)
                    },
                    onApp: function() {
                        window.location.href = "https://api.peiyinshenqi.club/u/eaqvS"
                    },
                    onCloseChromeHint: function() {
                        localStorage.setItem("chrome_hint_close", (new Date).getTime()), this.isChromeHint = !1
                    },
                    toChrome: function() {
                        window.open("https://www.google.cn/chrome/")
                    },
                    getChromeVersion: function() {
                        try {
                            for (var e = navigator.userAgent.split(" "), t = "", n = 0; n < e.length; n++) /chrome/i.test(e[n]) && (t = e[n]);
                            return t ? Number(t.split("/")[1].split(".")[0]) : 0
                        } catch (e) {
                            console.error(e)
                        }
                    }
                }
            },
            ht = {
                render: function() {
                    var e = this,
                        t = e.$createElement,
                        n = e._self._c || t;
                    return n("div", [e.isPcBrowser || "bdad" != e.rr ? e.isDownloadAppPage ? n("div", [n("router-view")], 1) : e.isPcBrowser ? n("div", {
                        class: "page" + (e.isDarkMode ? " dark" : "")
                    }, [e.isChromeHint ? n("div", {
                        staticClass: "tips flex"
                    }, [n("div", [e._v("本站已适配谷歌浏览器，建议")]), e._v(" "), n("div", {
                        staticClass: "download",
                        on: {
                            click: e.toChrome
                        }
                    }, [e._v("点击下载谷歌浏览器")]), e._v(" "), n("div", [e._v("浏览")]), e._v(" "), n("a-icon", {
                        staticClass: "close",
                        attrs: {
                            type: "close"
                        },
                        on: {
                            click: e.onCloseChromeHint
                        }
                    })], 1) : e.isChromeVersionHint ? n("div", {
                        staticClass: "tips flex"
                    }, [n("div", [e._v("当前使用浏览器版本较低，请升级浏览器或")]), e._v(" "), n("div", {
                        staticClass: "download",
                        on: {
                            click: e.toChrome
                        }
                    }, [e._v("点击下载谷歌浏览器")]), e._v(" "), n("div", [e._v("浏览")])]) : e._e(), e._v(" "), n("router-view"), e._v(" "), n("right-menu")], 1) : n("div", {
                        style: {
                            textAlign: "center",
                            paddingTop: .15 * e.screenHeight + "px"
                        }
                    }, [n("div", {
                        staticClass: "web-logo"
                    }, [n("el-image", {
                        staticStyle: {
                            width: "60px",
                            height: "60px",
                            "margin-right": "12px"
                        },
                        attrs: {
                            src: "https://peiyinshenqi-1254161078.file.myqcloud.com/pc/image/icon_peiyin.png",
                            fit: "cover"
                        }
                    }), e._v(" "), n("div", [e._v("配音神器网页版")])], 1), e._v(" "), n("div", {
                        staticStyle: {
                            "margin-top": "30px",
                            "font-size": "18px",
                            color: "#333",
                            "text-align": "center"
                        }
                    }, [e._v("\n      建议在电脑上访问 体验更佳\n    ")]), e._v(" "), n("el-button", {
                        staticStyle: {
                            "margin-top": "40px",
                            color: "#999"
                        },
                        attrs: {
                            type: "text"
                        },
                        on: {
                            click: function(t) {
                                return e.onApp()
                            }
                        }
                    }, [e._v("手机上点我打开小程序")])], 1) : n("div", [n("h5-page")], 1)])
                },
                staticRenderFns: []
            };
        var _t = n("VU/8")(pt, ht, !1, function(e) {
                n("UBqx")
            }, null, null).exports,
            mt = n("YaEn"),
            gt = n("TIfe"),
            yt = n("In1d"),
            vt = n("M4fF"),
            bt = n.n(vt),
            Ct = !0;

        function Et() {
            try {
                var e = document.documentElement.clientWidth,
                    t = document.documentElement.clientHeight;
                dt.a.commit("WINDOW_CLIENT", {
                    width: e,
                    height: t
                })
            } catch (e) {
                console.error(e)
            }
        }
        mt.a.beforeEach(function(e, t, n) {
            ! function(e, t, n) {
                var r = Object(gt.n)();
                if ("/" !== e.path && !r && e.meta && e.meta.auth) return console.log("未登录,正在跳转至登录页面"), void n({
                    path: "/",
                    replace: !0
                });
                if (Ct) {
                    Ct = !1;
                    var o = Object(gt.p)();
                    bt.a.isEmpty(o) ? n() : Object(yt.R)({}).then(function(e) {
                        console.log(e), Ct = !1;
                        e.userInfo && e.userInfo.vipInfo ? (e.show && (e.userInfo.vipInfo.show = e.show), e.userInfo.vipInfo.phoneNumber = e.userInfo.phoneNumber, Object(gt.E)(e.userInfo.vipInfo)) : Object(gt.E)(null), n(), console.log("_hmt", _hmt), _hmt.push(["_trackEvent", "user-info", "notvip", ""])
                    }).catch(function(e) {
                        n(), console.log(e)
                    })
                } else {
                    if (t && t.meta && !0 === t.meta.isMulti && window.multiSize > 0 && e && e.meta && !0 !== e.meta.vip) return void l.a.confirm("是否离开多人配音页面？", "温馨提示", {
                        confirmButtonText: "离开",
                        callback: function(e) {
                            "confirm" == e && n()
                        }
                    });
                    n()
                }
            }(e, t, n)
        }), window.onresize = function() {
            Et()
        }, Et();
        n("somA"), n("6OZQ"), n("DXmm"), n("18/U"), n("29pa");
        var wt = n("K73O"),
            kt = n.n(wt),
            Tt = (n("HLyh"), n("f3bp"));
        st.default.config.productionTip = !1;
        var Ot = n("BzvE");
        window.EE = new Ot;
        try {
            ! function(e) {
                var t = e.methods.resizeListener;
                e.methods.resizeListener = function() {
                    window.requestAnimationFrame(t.bind(this))
                }
            }(at.a)
        } catch (e) {
            console.error(e)
        }
        st.default.use(ut.a), st.default.use(ot.a), st.default.use(nt.a), st.default.use(et.a), st.default.use($e.a), st.default.use(Je.a), st.default.use(Ve.a), st.default.use(Xe.a), st.default.use(We.a), st.default.use(qe.a), st.default.use(Ke.a), st.default.use(Le.a), st.default.use(Ue.a), st.default.use(Be.a), st.default.use(Pe.a), st.default.use(Re.a), st.default.use(De.a), st.default.use(Oe.a), st.default.use(ke.a), st.default.use(Ee.a), st.default.use(be.a), st.default.use(ye.a), st.default.use(me.a), st.default.use(he.a), st.default.use(fe.a), st.default.use(le.a), st.default.use(ce.a), st.default.use(at.a), st.default.use(ae.a), st.default.use(oe.a), st.default.use(ne.a), st.default.use(ee.a), st.default.use($.a), st.default.use(J.a), st.default.use(V.a), st.default.use(X.a), st.default.use(W.a), st.default.use(q.a), st.default.use(K.a), st.default.use(L.a), st.default.use(U.a), st.default.use(B.a), st.default.use(P.a), st.default.use(R.a), st.default.use(D.a), st.default.use(O.a), st.default.use(k.a), st.default.use(E.a), st.default.use(b.a), st.default.use(y.a), st.default.use(m.a), st.default.use(D.a), st.default.use(h.a), st.default.use(f.a.directive), st.default.prototype.$loading = f.a.service, st.default.prototype.$alert = l.a.alert, st.default.prototype.$confirm = l.a.confirm, st.default.prototype.$message = c.a, st.default.prototype.$notify = a.a;
        try {
            var xt = require("electron");
            window.ipcRenderer = xt.ipcRenderer, window.ipcRenderer.on("aegis", function(e, t) {
                t.data && t.data.msg && t.data.msg.indexOf && t.data.msg.indexOf("MsErrorDetail") >= 0 && (t.data.msg = "MsErrorDetail\n" + t.data.msg), ft.a[t.fun](t.data)
            }), window.ipcRenderer.on("appMsg", function(e, t) {
                console.log("appMsg", t), c()(o()({}, t))
            }), window.ipcRenderer.on("downloadResult", function(e, t) {
                console.log("downloadResult", t)
            })
        } catch (e) {}
        st.default.use(kt.a), st.default.config.errorHandler = function(e, t, n) {
            console.error(e), ft.a.error("Error: " + e.toString() + "\n\n Stack:" + e.stack + " \n\nInfo: " + n)
        }, st.default.use(Tt.a), new st.default({
            el: "#app",
            router: mt.a,
            store: dt.a,
            components: {
                App: _t
            },
            template: "<App/>"
        })
    },
    NOFV: function(e, t) {},
    OKX5: function(e, t) {},
    Q6SQ: function(e, t) {},
    RWjY: function(e, t) {},
    TFIm: function(e, t) {},
    TIfe: function(e, t, n) {
        "use strict";
        t.t = function() {
            s({}), a({})
        }, t.j = function() {
            return sessionStorage.getItem("rr")
        }, t.y = function(e) {
            sessionStorage.setItem("rr", e)
        }, t.z = function(e) {
            Object(i.i)("right-menu", e)
        }, t.k = function() {
            return Object(i.c)("right-menu")
        }, t.n = function() {
            var e = Object(i.c)("tts:user");
            try {
                return JSON.parse(e).token
            } catch (e) {
                return ""
            }
        }, t.q = function() {
            var e = Object(i.c)("tts:uservip");
            try {
                return JSON.parse(e)
            } catch (e) {
                return ""
            }
        }, t.E = a, t.d = function() {
            var e = Object(i.c)("tts:user");
            try {
                return JSON.parse(e).openid
            } catch (e) {
                return 0
            }
        }, t.e = function() {
            return Object(i.c)("app")
        }, t.D = s, t.p = function() {
            var e = Object(i.c)("tts:user");
            try {
                return JSON.parse(e)
            } catch (e) {
                return {}
            }
        }, t.u = function() {
            Object(i.i)("tts:chrome-hint", "true")
        }, t.C = function(e) {
            Object(i.i)("tts:ttsOption", o()(e))
        }, t.o = function() {
            var e = Object(i.c)("tts:ttsOption");
            try {
                return JSON.parse(e)
            } catch (e) {
                return {}
            }
        }, t.w = function(e) {
            Object(i.i)("tts:line:pause", e)
        }, t.h = function() {
            var e = Object(i.c)("tts:line:pause");
            try {
                if (e) return e
            } catch (e) {}
            return ""
        }, t.B = function(e) {
            e && Object(i.i)("tts:symbol:pause", o()(e))
        }, t.m = function() {
            var e = Object(i.c)("tts:symbol:pause");
            try {
                if (e) return JSON.parse(e)
            } catch (e) {}
            return {}
        }, t.A = function() {
            Object(i.i)("tts:shiting:tips", "already-show")
        }, t.s = function() {
            var e = Object(i.c)("tts:shiting:tips");
            try {
                if (!e) return !0
            } catch (e) {}
            return !1
        }, t.r = function() {
            var e = Object(i.c)(c);
            try {
                if (!e) return !0
            } catch (e) {}
            return !1
        }, t.f = function() {
            var e = window.location.host.toLowerCase();
            if (e.indexOf("peiyinshenqi.com") >= 0) return "鄂ICP备2021001460号-3";
            if (e.indexOf("peiyinshenqi.club") >= 0) return "鄂ICP备19023205号-1";
            if (e.indexOf("pysq123") >= 0) return "鄂ICP备2021001460号-2";
            return ""
        }, t.v = function(e) {
            console.log(e), Object(i.i)("tts:delSilenceLen", e), console.log("getDelSilenceLen", u())
        }, t.b = function() {
            Object(i.i)("tts:delSilenceLen", null)
        }, t.g = u, t.i = function() {
            var e = Object(i.c)("tts:multilist");
            try {
                if (console.log(e), e && e.length > 0) {
                    var t = Object(i.c)("tts:multilist-time");
                    if (new Date - t <= 864e5) return e
                }
            } catch (e) {}
            return null
        }, t.x = function(e) {
            Object(i.i)("tts:multilist", e), e ? Object(i.i)("tts:multilist-time", (new Date).getTime()) : Object(i.i)("tts:multilist-time", null)
        }, t.l = function() {
            var e = Object(i.c)("tts:voicesearch");
            try {
                if (e && e.length > 0) return e
            } catch (e) {}
            return []
        }, t.c = function() {
            Object(i.i)("tts:voicesearch", null)
        }, t.a = function(e) {
            if (!e) return;
            var t = Object(i.c)("tts:voicesearch"),
                n = [];
            try {
                t && t.length > 0 && (n = t)
            } catch (e) {}
            var r = [];
            r.push(e);
            for (var o = 0; o < n.length && !(o >= 9); o++) {
                var a = n[o];
                a != e && r.push(a)
            }
            Object(i.i)("tts:voicesearch", r)
        };
        var r = n("mvHQ"),
            o = n.n(r),
            i = n("oFuF");

        function a(e) {
            e && (e = o()(e)), Object(i.i)("tts:uservip", e)
        }

        function s(e) {
            Object(i.i)("tts:user", o()(e))
        }
        var c = "make-notice-bar001";

        function u() {
            var e = Object(i.c)("tts:delSilenceLen");
            try {
                if (e) {
                    var t = parseInt(e);
                    if (t > 0) return t
                }
            } catch (e) {}
            return 0
        }
    },
    "U/ZW": function(e, t) {},
    UBqx: function(e, t) {},
    WzZF: function(e, t) {},
    "X+ky": function(e, t) {},
    XPMo: function(e, t) {},
    XqYu: function(e, t) {},
    YaEn: function(e, t, n) {
        "use strict";
        var r = n("7+uW"),
            o = n("/ocq");
        r.default.use(o.a), t.a = new o.a({
            mode: "history",
            routes: [{
                path: "/",
                component: function() {
                    return n.e(1).then(n.bind(null, "2NXm"))
                },
                meta: {
                    title: "tts"
                }
            }, {
                path: "/app",
                component: function() {
                    return n.e(3).then(n.bind(null, "70R5"))
                },
                meta: {
                    title: "tts"
                }
            }, {
                path: "/tts",
                redirect: "/tts/index",
                component: function() {
                    return Promise.all([n.e(0), n.e(8)]).then(n.bind(null, "gk7G"))
                },
                children: [{
                    path: "index",
                    meta: {
                        auth: !0
                    },
                    component: function() {
                        return Promise.all([n.e(0), n.e(5)]).then(n.bind(null, "2CCS"))
                    }
                }, {
                    path: "multi",
                    meta: {
                        auth: !0,
                        isMulti: !0
                    },
                    component: function() {
                        return Promise.all([n.e(0), n.e(2)]).then(n.bind(null, "8BJd"))
                    }
                }, {
                    path: "vip",
                    meta: {
                        auth: !0,
                        vip: !0
                    },
                    component: function() {
                        return n.e(6).then(n.bind(null, "jFIQ"))
                    }
                }, {
                    path: "help",
                    component: function() {
                        return n.e(15).then(n.bind(null, "bsgR"))
                    }
                }, {
                    path: "word-packet",
                    component: function() {
                        return n.e(14).then(n.bind(null, "JZ07"))
                    }
                }]
            }, {
                path: "/invite",
                component: function() {
                    return Promise.all([n.e(0), n.e(10)]).then(n.bind(null, "wmde"))
                }
            }, {
                path: "/tools",
                redirect: "/tools/index",
                component: function() {
                    return Promise.all([n.e(0), n.e(9)]).then(n.bind(null, "L/I8"))
                },
                children: [{
                    path: "index",
                    component: function() {
                        return n.e(17).then(n.bind(null, "jOw3"))
                    }
                }, {
                    path: "convert2text",
                    component: function() {
                        return n.e(16).then(n.bind(null, "1Smz"))
                    }
                }, {
                    path: "watermark",
                    component: function() {
                        return n.e(20).then(n.bind(null, "3D7Y"))
                    }
                }, {
                    path: "remover",
                    component: function() {
                        return n.e(18).then(n.bind(null, "C3uo"))
                    }
                }, {
                    path: "autosrt",
                    component: function() {
                        return n.e(19).then(n.bind(null, "Dngc"))
                    }
                }, {
                    path: "md5",
                    component: function() {
                        return Promise.all([n.e(0), n.e(11)]).then(n.bind(null, "+wzC"))
                    }
                }, {
                    path: "video-to-audio",
                    component: function() {
                        return Promise.all([n.e(0), n.e(13)]).then(n.bind(null, "0FWU"))
                    }
                }, {
                    path: "video-compress",
                    component: function() {
                        return Promise.all([n.e(0), n.e(12)]).then(n.bind(null, "159/"))
                    }
                }]
            }, {
                path: "*",
                redirect: function(e) {
                    return {
                        path: "/",
                        query: e.query
                    }
                }
            }]
        })
    },
    Yq4J: function(e, t) {},
    Zki6: function(e, t) {},
    akml: function(e, t) {},
    as9R: function(e, t, n) {
        "use strict";
        var r = n("dfgj"),
            o = n.n(r),
            i = n("TIfe"),
            a = n("7+uW"),
            s = new o.a({
                id: "XaKVn5BzYaWGMRyjbO",
                uin: Object(i.d)(),
                reportApiSpeed: !1,
                reportAssetSpeed: !1,
                offlineLog: !1,
                repeat: 3,
                beforeRequest: function(e) {
                    return !("log" === e.logType && e.logs && e.logs.msg && (e.logs.msg.indexOf("chrome-extension") > 0 || e.logs.msg.indexOf("Script error.") > 0 || e.logs.msg.indexOf("innerHTML") > 0 || e.logs.msg.indexOf("showLogin") > 0 || e.logs.msg.indexOf("apply is not a function") > 0)) && e
                },
                api: {
                    apiDetail: !1
                },
                spa: !1
            });
        a.default.prototype.$aegis = s, t.a = s
    },
    bwiK: function(e, t) {},
    cDSy: function(e, t) {},
    cwe7: function(e, t) {},
    d7TW: function(e, t) {},
    dT9R: function(e, t) {},
    dmRH: function(e, t) {},
    hXTu: function(e, t) {},
    isE6: function(e, t) {},
    "j/vl": function(e, t, n) {
        "use strict";
        Object.defineProperty(t, "__esModule", {
            value: !0
        });
        var r = n("Zx67"),
            o = n.n(r),
            i = n("Zrlr"),
            a = n.n(i),
            s = n("zwoO"),
            c = n.n(s),
            u = n("Pf15"),
            l = n.n(u),
            d = n("kiBT"),
            f = n.n(d),
            p = n("OvRC"),
            h = n.n(p);
        var _ = function(e) {
            function t(e, n) {
                a()(this, t);
                var r = c()(this, (t.__proto__ || o()(t)).call(this, "api-error(code=" + e + ")"));
                return r.code = e, r.msg = n, r
            }
            return l()(t, e), t
        }(function() {
            function e() {
                Error.apply(this, arguments), Object.defineProperty(this, "message", {
                    configurable: !0,
                    enumerable: !1,
                    value: arguments.length ? String(arguments[0]) : ""
                }), Object.defineProperty(this, "name", {
                    configurable: !0,
                    enumerable: !1,
                    value: this.constructor.name
                }), "function" == typeof Error.captureStackTrace && Error.captureStackTrace(this, this.constructor)
            }
            return e.prototype = h()(Error.prototype), f()(e, Error), e
        }(Error));
        t.default = _
    },
    j7dL: function(e, t) {},
    jAzQ: function(e, t) {},
    jZDA: function(e, t) {},
    oFuF: function(e, t, n) {
        "use strict";
        t.c = p, t.i = h, t.e = function() {
            var e = navigator.userAgent.toLowerCase(),
                t = "ipad" == e.match(/ipad/i),
                n = "iphone os" == e.match(/iphone os/i),
                r = "midp" == e.match(/midp/i),
                o = "rv:1.2.3.4" == e.match(/rv:1.2.3.4/i),
                i = "ucweb" == e.match(/ucweb/i),
                a = "android" == e.match(/android/i),
                s = "windows ce" == e.match(/windows ce/i),
                c = "windows mobile" == e.match(/windows mobile/i);
            if (t || n || r || o || i || a || s || c) return !1;
            return !0
        }, t.g = function() {
            var e = navigator.userAgent.toLowerCase();
            if (-1 != e.indexOf("macwechat")) return !0;
            if (-1 != e.indexOf("windowswechat")) return !0;
            return !1
        }, t.d = function() {
            try {
                if (navigator.clipboard && navigator.clipboard.readText) return !0
            } catch (e) {
                console.log(e)
            }
            return !1
        }, t.h = function(e) {
            return e.replace(/[\u200B\u200C\u200D\uFEFF\u00A0]/g, "")
        }, t.j = function(e) {
            h("tts:pyhint", !1 === e ? "close" : null)
        }, t.f = function() {
            var e = p("tts:pyhint");
            try {
                if (e && "close" == e) return !1
            } catch (e) {}
            return !0
        }, t.b = function(e) {
            return new c.a(function(t, n) {
                var r = URL.createObjectURL(e);
                if (e.type.indexOf("audio") >= 0) var o = new d.Howl({
                    src: [r],
                    format: ["mp3", "wav", "webm", "m4a"],
                    onload: function() {
                        var e = o.duration();
                        o.unload(), o = null, t(e)
                    },
                    onloaderror: function() {
                        o = null, n("err")
                    }
                });
                else {
                    if (e.type.indexOf("video") >= 0) {
                        var i = document.createElement("video");
                        return i.src = r, i.onloadedmetadata = function() {
                            var e = i.duration;
                            t(e)
                        }, void(i.onerror = function() {
                            n("err")
                        })
                    }
                    n("err2")
                }
            })
        }, n.d(t, "a", function() {
            return m
        });
        var r = n("Xxa5"),
            o = n.n(r),
            i = n("exGp"),
            a = n.n(i),
            s = n("//Fk"),
            c = n.n(s),
            u = n("mvHQ"),
            l = n.n(u),
            d = n("k9Ku"),
            f = (n.n(d), n("as9R"));

        function p(e) {
            try {
                var t = window.localStorage.getItem(e);
                return t ? JSON.parse(window.decodeURIComponent(window.atob(t))) : void 0
            } catch (e) {
                console.error(e)
            }
        }

        function h(e, t) {
            try {
                if (!t) return void window.localStorage.removeItem(e);
                window.localStorage.setItem(e, window.btoa(window.encodeURIComponent(l()(t))))
            } catch (e) {
                console.error(e)
            }
        }
        var _, m = (_ = a()(o.a.mark(function e(t) {
            var n;
            return o.a.wrap(function(e) {
                for (;;) switch (e.prev = e.next) {
                    case 0:
                        return e.prev = 0, e.next = 3, navigator.clipboard.readText();
                    case 3:
                        return (n = e.sent) ? t.$message.success("内容已粘贴") : t.$message.error("粘贴板空空如也~"), e.abrupt("return", n);
                    case 8:
                        throw e.prev = 8, e.t0 = e.catch(0), console.log(e.t0), f.a.error("Error: getClipboardTextError \nStack:" + e.t0), (e.t0 + "").indexOf("permission") > 0 ? t.$alert("请按下面的操作步骤打开权限<br>1、点击浏览器地址栏左侧的锁形图标或信息图标；<br>2、找到“剪贴板”权限设置；<br>3、将权限改为“允许”。", "浏览器剪贴板权限被拒绝", {
                            confirmButtonText: "我知道了",
                            dangerouslyUseHTMLString: !0
                        }) : t.$alert("请在输入框里使用快捷键" + (navigator.userAgent.toLowerCase().includes("mac") ? "Command/Cmd" : "CTRL") + " + V 直接粘贴", "粘贴失败", {
                            confirmButtonText: "我知道了"
                        }), new Error(e.t0 + "");
                    case 14:
                    case "end":
                        return e.stop()
                }
            }, e, this, [
                [0, 8]
            ])
        })), function(e) {
            return _.apply(this, arguments)
        })
    },
    oq7i: function(e, t) {},
    qunJ: function(e, t) {},
    somA: function(module, __webpack_exports__, __webpack_require__) {
        "use strict";
        (function(module) {
            var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_number_parse_float__ = __webpack_require__("5dBV"),
                __WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_number_parse_float___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_number_parse_float__),
                __WEBPACK_IMPORTED_MODULE_1_babel_runtime_core_js_object_get_prototype_of__ = __webpack_require__("Zx67"),
                __WEBPACK_IMPORTED_MODULE_1_babel_runtime_core_js_object_get_prototype_of___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_babel_runtime_core_js_object_get_prototype_of__),
                __WEBPACK_IMPORTED_MODULE_2_babel_runtime_core_js_object_set_prototype_of__ = __webpack_require__("kiBT"),
                __WEBPACK_IMPORTED_MODULE_2_babel_runtime_core_js_object_set_prototype_of___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_babel_runtime_core_js_object_set_prototype_of__),
                __WEBPACK_IMPORTED_MODULE_3_babel_runtime_core_js_json_stringify__ = __webpack_require__("mvHQ"),
                __WEBPACK_IMPORTED_MODULE_3_babel_runtime_core_js_json_stringify___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_babel_runtime_core_js_json_stringify__),
                __WEBPACK_IMPORTED_MODULE_4_babel_runtime_core_js_object_assign__ = __webpack_require__("woOf"),
                __WEBPACK_IMPORTED_MODULE_4_babel_runtime_core_js_object_assign___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_babel_runtime_core_js_object_assign__),
                __WEBPACK_IMPORTED_MODULE_5_babel_runtime_core_js_object_keys__ = __webpack_require__("fZjL"),
                __WEBPACK_IMPORTED_MODULE_5_babel_runtime_core_js_object_keys___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5_babel_runtime_core_js_object_keys__),
                __WEBPACK_IMPORTED_MODULE_6_babel_runtime_core_js_promise__ = __webpack_require__("//Fk"),
                __WEBPACK_IMPORTED_MODULE_6_babel_runtime_core_js_promise___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6_babel_runtime_core_js_promise__),
                __WEBPACK_IMPORTED_MODULE_7_babel_runtime_core_js_symbol_iterator__ = __webpack_require__("Zzip"),
                __WEBPACK_IMPORTED_MODULE_7_babel_runtime_core_js_symbol_iterator___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_7_babel_runtime_core_js_symbol_iterator__),
                __WEBPACK_IMPORTED_MODULE_8_babel_runtime_core_js_object_create__ = __webpack_require__("OvRC"),
                __WEBPACK_IMPORTED_MODULE_8_babel_runtime_core_js_object_create___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_8_babel_runtime_core_js_object_create__),
                __WEBPACK_IMPORTED_MODULE_9_babel_runtime_core_js_symbol_to_string_tag__ = __webpack_require__("a1FJ"),
                __WEBPACK_IMPORTED_MODULE_9_babel_runtime_core_js_symbol_to_string_tag___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_9_babel_runtime_core_js_symbol_to_string_tag__),
                __WEBPACK_IMPORTED_MODULE_10_babel_runtime_core_js_symbol__ = __webpack_require__("5QVw"),
                __WEBPACK_IMPORTED_MODULE_10_babel_runtime_core_js_symbol___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_10_babel_runtime_core_js_symbol__),
                __WEBPACK_IMPORTED_MODULE_11_babel_runtime_core_js_object_define_property__ = __webpack_require__("C4MV"),
                __WEBPACK_IMPORTED_MODULE_11_babel_runtime_core_js_object_define_property___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_11_babel_runtime_core_js_object_define_property__),
                __WEBPACK_IMPORTED_MODULE_12_babel_runtime_helpers_typeof__ = __webpack_require__("pFYg"),
                __WEBPACK_IMPORTED_MODULE_12_babel_runtime_helpers_typeof___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_12_babel_runtime_helpers_typeof__),
                e, t;
            e = window, t = function() {
                return function(e) {
                    var t = {};

                    function n(r) {
                        if (t[r]) return t[r].exports;
                        var o = t[r] = {
                            i: r,
                            l: !1,
                            exports: {}
                        };
                        return e[r].call(o.exports, o, o.exports, n), o.l = !0, o.exports
                    }
                    return n.m = e, n.c = t, n.d = function(e, t, r) {
                        n.o(e, t) || __WEBPACK_IMPORTED_MODULE_11_babel_runtime_core_js_object_define_property___default()(e, t, {
                            enumerable: !0,
                            get: r
                        })
                    }, n.r = function(e) {
                        void 0 !== __WEBPACK_IMPORTED_MODULE_10_babel_runtime_core_js_symbol___default.a && __WEBPACK_IMPORTED_MODULE_9_babel_runtime_core_js_symbol_to_string_tag___default.a && __WEBPACK_IMPORTED_MODULE_11_babel_runtime_core_js_object_define_property___default()(e, __WEBPACK_IMPORTED_MODULE_9_babel_runtime_core_js_symbol_to_string_tag___default.a, {
                            value: "Module"
                        }), Object.defineProperty(e, "__esModule", {
                            value: !0
                        })
                    }, n.t = function(e, t) {
                        if (1 & t && (e = n(e)), 8 & t) return e;
                        if (4 & t && "object" == (void 0 === e ? "undefined" : __WEBPACK_IMPORTED_MODULE_12_babel_runtime_helpers_typeof___default()(e)) && e && e.__esModule) return e;
                        var r = __WEBPACK_IMPORTED_MODULE_8_babel_runtime_core_js_object_create___default()(null);
                        if (n.r(r), Object.defineProperty(r, "default", {
                                enumerable: !0,
                                value: e
                            }), 2 & t && "string" != typeof e)
                            for (var o in e) n.d(r, o, function(t) {
                                return e[t]
                            }.bind(null, o));
                        return r
                    }, n.n = function(e) {
                        var t = e && e.__esModule ? function() {
                            return e.default
                        } : function() {
                            return e
                        };
                        return n.d(t, "a", t), t
                    }, n.o = function(e, t) {
                        return Object.prototype.hasOwnProperty.call(e, t)
                    }, n.p = "/dist/", n(n.s = 11)
                }([function(e, t) {
                    function n(t) {
                        return e.exports = n = "function" == typeof __WEBPACK_IMPORTED_MODULE_10_babel_runtime_core_js_symbol___default.a && "symbol" == __WEBPACK_IMPORTED_MODULE_12_babel_runtime_helpers_typeof___default()(__WEBPACK_IMPORTED_MODULE_7_babel_runtime_core_js_symbol_iterator___default.a) ? function(e) {
                            return void 0 === e ? "undefined" : __WEBPACK_IMPORTED_MODULE_12_babel_runtime_helpers_typeof___default()(e)
                        } : function(e) {
                            return e && "function" == typeof __WEBPACK_IMPORTED_MODULE_10_babel_runtime_core_js_symbol___default.a && e.constructor === __WEBPACK_IMPORTED_MODULE_10_babel_runtime_core_js_symbol___default.a && e !== __WEBPACK_IMPORTED_MODULE_10_babel_runtime_core_js_symbol___default.a.prototype ? "symbol" : void 0 === e ? "undefined" : __WEBPACK_IMPORTED_MODULE_12_babel_runtime_helpers_typeof___default()(e)
                        }, e.exports.__esModule = !0, e.exports.default = e.exports, n(t)
                    }
                    e.exports = n, e.exports.__esModule = !0, e.exports.default = e.exports
                }, function(e, t, n) {
                    (function(t) {
                        var r = n(0),
                            o = n(13),
                            i = n(15),
                            a = n(16),
                            s = n(21),
                            c = n(7);

                        function u(e) {
                            return encodeURIComponent(e).replace(/!/g, "%21").replace(/'/g, "%27").replace(/\(/g, "%28").replace(/\)/g, "%29").replace(/\*/g, "%2A")
                        }

                        function l(e, t) {
                            var n = [];
                            for (var r in e) e.hasOwnProperty(r) && n.push(t ? u(r).toLowerCase() : r);
                            return n.sort(function(e, t) {
                                return (e = e.toLowerCase()) === (t = t.toLowerCase()) ? 0 : e > t ? 1 : -1
                            })
                        }
                        var d, f = ["content-disposition", "content-encoding", "content-length", "content-md5", "expect", "host", "if-match", "if-modified-since", "if-none-match", "if-unmodified-since", "origin", "range", "response-cache-control", "response-content-disposition", "response-content-encoding", "response-content-language", "response-content-type", "response-expires", "transfer-encoding", "versionid"],
                            p = function(e, t, n) {
                                var r = t / 8,
                                    o = e.slice(n, n + r);
                                return new Uint8Array(o).reverse(), new {
                                    8: Uint8Array,
                                    16: Uint16Array,
                                    32: Uint32Array
                                } [t](o)[0]
                            },
                            h = function(e, t, n, r) {
                                var o = e.slice(t, n),
                                    i = "";
                                return new Uint8Array(o).forEach(function(e) {
                                    i += String.fromCharCode(e)
                                }), r && (i = decodeURIComponent(escape(i))), i
                            },
                            _ = function() {},
                            m = function(e) {
                                var t = {};
                                for (var n in e) e.hasOwnProperty(n) && void 0 !== e[n] && null !== e[n] && (t[n] = e[n]);
                                return t
                            },
                            g = (d = function(e, t) {
                                e = e.split("."), t = t.split(".");
                                for (var n = 0; n < t.length; n++)
                                    if (e[n] !== t[n]) return parseInt(e[n]) > parseInt(t[n]) ? 1 : -1;
                                return 0
                            }, function(e) {
                                if (!e) return !1;
                                var t = (e.match(/Chrome\/([.\d]+)/) || [])[1],
                                    n = (e.match(/QBCore\/([.\d]+)/) || [])[1],
                                    r = (e.match(/QQBrowser\/([.\d]+)/) || [])[1];
                                return t && d(t, "53.0.2785.116") < 0 && n && d(n, "3.53.991.400") < 0 && r && d(r, "9.0.2524.400") <= 0 || !1
                            }("undefined" != typeof navigator && navigator.userAgent)),
                            y = 1048576;

                        function v(e) {
                            return w(e, function(e) {
                                return "object" === r(e) && null !== e ? v(e) : e
                            })
                        }

                        function b(e, t) {
                            return E(t, function(n, r) {
                                e[r] = t[r]
                            }), e
                        }

                        function C(e) {
                            return e instanceof Array
                        }

                        function E(e, t) {
                            for (var n in e) e.hasOwnProperty(n) && t(e[n], n)
                        }

                        function w(e, t) {
                            var n = C(e) ? [] : {};
                            for (var r in e) e.hasOwnProperty(r) && (n[r] = t(e[r], r));
                            return n
                        }
                        var k = function(e, t) {
                                if (t = b({}, t), "getAuth" !== e && "getV4Auth" !== e && "getObjectUrl" !== e) {
                                    var n = t.Headers || {};
                                    t && "object" === r(t) && (! function() {
                                        for (var e in t) t.hasOwnProperty(e) && e.indexOf("x-cos-") > -1 && (n[e] = t[e])
                                    }(), O.each({
                                        "x-cos-mfa": "MFA",
                                        "Content-MD5": "ContentMD5",
                                        "Content-Length": "ContentLength",
                                        "Content-Type": "ContentType",
                                        Expect: "Expect",
                                        Expires: "Expires",
                                        "Cache-Control": "CacheControl",
                                        "Content-Disposition": "ContentDisposition",
                                        "Content-Encoding": "ContentEncoding",
                                        Range: "Range",
                                        "If-Modified-Since": "IfModifiedSince",
                                        "If-Unmodified-Since": "IfUnmodifiedSince",
                                        "If-Match": "IfMatch",
                                        "If-None-Match": "IfNoneMatch",
                                        "x-cos-copy-source": "CopySource",
                                        "x-cos-copy-source-Range": "CopySourceRange",
                                        "x-cos-metadata-directive": "MetadataDirective",
                                        "x-cos-copy-source-If-Modified-Since": "CopySourceIfModifiedSince",
                                        "x-cos-copy-source-If-Unmodified-Since": "CopySourceIfUnmodifiedSince",
                                        "x-cos-copy-source-If-Match": "CopySourceIfMatch",
                                        "x-cos-copy-source-If-None-Match": "CopySourceIfNoneMatch",
                                        "x-cos-acl": "ACL",
                                        "x-cos-grant-read": "GrantRead",
                                        "x-cos-grant-write": "GrantWrite",
                                        "x-cos-grant-full-control": "GrantFullControl",
                                        "x-cos-grant-read-acp": "GrantReadAcp",
                                        "x-cos-grant-write-acp": "GrantWriteAcp",
                                        "x-cos-storage-class": "StorageClass",
                                        "x-cos-traffic-limit": "TrafficLimit",
                                        "x-cos-mime-limit": "MimeLimit",
                                        "x-cos-server-side-encryption-customer-algorithm": "SSECustomerAlgorithm",
                                        "x-cos-server-side-encryption-customer-key": "SSECustomerKey",
                                        "x-cos-server-side-encryption-customer-key-MD5": "SSECustomerKeyMD5",
                                        "x-cos-server-side-encryption": "ServerSideEncryption",
                                        "x-cos-server-side-encryption-cos-kms-key-id": "SSEKMSKeyId",
                                        "x-cos-server-side-encryption-context": "SSEContext"
                                    }, function(e, r) {
                                        void 0 !== t[e] && (n[r] = t[e])
                                    }), t.Headers = m(n))
                                }
                                return t
                            },
                            T = function(e) {
                                return Date.now() + (e || 0)
                            },
                            O = {
                                noop: _,
                                formatParams: k,
                                apiWrapper: function(e, t) {
                                    return function(n, r) {
                                        var o, i = this;
                                        if ("function" == typeof n && (r = n, n = {}), n = k(e, n), i.options.EnableTracker)
                                            if ("sliceUploadFile" === n.calledBySdk) o = n.tracker && n.tracker.generateSubTracker({
                                                apiName: e
                                            });
                                            else if (["uploadFile", "uploadFiles"].includes(e)) o = null;
                                        else {
                                            var a = -1;
                                            n.Body && (a = "string" == typeof n.Body ? n.Body.length : n.Body.size || n.Body.byteLength || -1), o = new c({
                                                bucket: n.Bucket,
                                                region: n.Region,
                                                apiName: e,
                                                fileKey: n.Key,
                                                fileSize: a,
                                                deepTracker: i.options.DeepTracker,
                                                customId: i.options.CustomId,
                                                delay: i.options.TrackerDelay
                                            })
                                        }
                                        n.tracker = o;
                                        var s = function(e) {
                                                return e && e.headers && (e.headers["x-cos-request-id"] && (e.RequestId = e.headers["x-cos-request-id"]), e.headers["x-ci-request-id"] && (e.RequestId = e.headers["x-ci-request-id"]), e.headers["x-cos-version-id"] && (e.VersionId = e.headers["x-cos-version-id"]), e.headers["x-cos-delete-marker"] && (e.DeleteMarker = e.headers["x-cos-delete-marker"])), e
                                            },
                                            u = function(e, t) {
                                                o && o.formatResult(e, t), r && r(s(e), s(t))
                                            },
                                            l = function() {
                                                if ("getService" !== e && "abortUploadTask" !== e) {
                                                    var t = function(e, t) {
                                                        var n = t.Bucket,
                                                            r = t.Region,
                                                            o = t.Key,
                                                            i = this.options.Domain,
                                                            a = !i || "string" == typeof i && i.indexOf("{Bucket}") > -1,
                                                            s = !i || "string" == typeof i && i.indexOf("{Region}") > -1;
                                                        if (e.indexOf("Bucket") > -1 || "deleteMultipleObject" === e || "multipartList" === e || "listObjectVersions" === e) {
                                                            if (a && !n) return "Bucket";
                                                            if (s && !r) return "Region"
                                                        } else if (e.indexOf("Object") > -1 || e.indexOf("multipart") > -1 || "sliceUploadFile" === e || "abortUploadTask" === e) {
                                                            if (a && !n) return "Bucket";
                                                            if (s && !r) return "Region";
                                                            if (!o) return "Key"
                                                        }
                                                        return !1
                                                    }.call(i, e, n);
                                                    if (t) return "missing param " + t;
                                                    if (n.Region) {
                                                        if (i.options.CompatibilityMode) {
                                                            if (!/^([a-z\d-.]+)$/.test(n.Region)) return "Region format error."
                                                        } else {
                                                            if (n.Region.indexOf("cos.") > -1) return 'param Region should not be start with "cos."';
                                                            if (!/^([a-z\d-]+)$/.test(n.Region)) return "Region format error."
                                                        }!i.options.CompatibilityMode && -1 === n.Region.indexOf("-") && "yfb" !== n.Region && "default" !== n.Region && n.Region
                                                    }
                                                    if (n.Bucket) {
                                                        if (!/^([a-z\d-]+)-(\d+)$/.test(n.Bucket))
                                                            if (n.AppId) n.Bucket = n.Bucket + "-" + n.AppId;
                                                            else {
                                                                if (!i.options.AppId) return 'Bucket should format as "test-1250000000".';
                                                                n.Bucket = n.Bucket + "-" + i.options.AppId
                                                            } n.AppId && delete n.AppId
                                                    }!i.options.UseRawKey && n.Key && "/" === n.Key.substr(0, 1) && (n.Key = n.Key.substr(1))
                                                }
                                            }(),
                                            d = "getAuth" === e || "getObjectUrl" === e;
                                        if ("function" == typeof __WEBPACK_IMPORTED_MODULE_6_babel_runtime_core_js_promise___default.a && !d && !r) return new __WEBPACK_IMPORTED_MODULE_6_babel_runtime_core_js_promise___default.a(function(e, o) {
                                            if (r = function(t, n) {
                                                    t ? o(t) : e(n)
                                                }, l) return u(O.error(new Error(l)));
                                            t.call(i, n, u)
                                        });
                                        if (l) return u(O.error(new Error(l)));
                                        var f = t.call(i, n, u);
                                        return d ? f : void 0
                                    }
                                },
                                xml2json: a,
                                json2xml: s,
                                md5: o,
                                clearKey: m,
                                fileSlice: function(e, t, n, r, o) {
                                    var i;
                                    if (e.slice ? i = e.slice(t, n) : e.mozSlice ? i = e.mozSlice(t, n) : e.webkitSlice && (i = e.webkitSlice(t, n)), r && g) {
                                        var a = new FileReader;
                                        a.onload = function(e) {
                                            i = null, o(new Blob([a.result]))
                                        }, a.readAsArrayBuffer(i)
                                    } else o(i)
                                },
                                getBodyMd5: function(e, t, n, r) {
                                    n = n || _, e ? "string" == typeof t ? n(O.md5(t, !0)) : Blob && t instanceof Blob ? O.getFileMd5(t, function(e, t) {
                                        n(t)
                                    }, r) : n() : n()
                                },
                                getFileMd5: function(e, t, n) {
                                    var r = e.size,
                                        i = 0,
                                        a = o.getCtx();
                                    ! function o(s) {
                                        if (s >= r) {
                                            var c = a.digest("hex");
                                            t(null, c)
                                        } else {
                                            var u = Math.min(r, s + y);
                                            O.fileSlice(e, s, u, !1, function(e) {
                                                ! function(e, t) {
                                                    var n, r = new FileReader;
                                                    FileReader.prototype.readAsBinaryString ? (n = FileReader.prototype.readAsBinaryString, r.onload = function() {
                                                        t(this.result)
                                                    }) : FileReader.prototype.readAsArrayBuffer && (n = function(e) {
                                                        var n = "",
                                                            r = new FileReader;
                                                        r.onload = function(e) {
                                                            for (var o = new Uint8Array(r.result), i = o.byteLength, a = 0; a < i; a++) n += String.fromCharCode(o[a]);
                                                            t(n)
                                                        }, r.readAsArrayBuffer(e)
                                                    }), n.call(r, e)
                                                }(e, function(t) {
                                                    e = null, a = a.update(t, !0), i += t.length, t = null, n && n({
                                                        loaded: i,
                                                        total: r,
                                                        percent: Math.round(i / r * 1e4) / 1e4
                                                    }), o(s + y)
                                                })
                                            })
                                        }
                                    }(0)
                                },
                                binaryBase64: function(e) {
                                    var t, n, r, o = "";
                                    for (t = 0, n = e.length / 2; t < n; t++) r = parseInt(e[2 * t] + e[2 * t + 1], 16), o += String.fromCharCode(r);
                                    return btoa(o)
                                },
                                extend: b,
                                isArray: C,
                                isInArray: function(e, t) {
                                    for (var n = !1, r = 0; r < e.length; r++)
                                        if (t === e[r]) {
                                            n = !0;
                                            break
                                        } return n
                                },
                                makeArray: function(e) {
                                    return C(e) ? e : [e]
                                },
                                each: E,
                                map: w,
                                filter: function(e, t) {
                                    var n = C(e),
                                        r = n ? [] : {};
                                    for (var o in e) e.hasOwnProperty(o) && t(e[o], o) && (n ? r.push(e[o]) : r[o] = e[o]);
                                    return r
                                },
                                clone: v,
                                attr: function(e, t, n) {
                                    return e && t in e ? e[t] : n
                                },
                                uuid: function() {
                                    var e = function() {
                                        return (65536 * (1 + Math.random()) | 0).toString(16).substring(1)
                                    };
                                    return e() + e() + "-" + e() + "-" + e() + "-" + e() + "-" + e() + e() + e()
                                },
                                camSafeUrlEncode: u,
                                throttleOnProgress: function(e, t) {
                                    var n, r, o = this,
                                        i = 0,
                                        a = 0,
                                        s = Date.now();

                                    function c() {
                                        if (r = 0, t && "function" == typeof t) {
                                            n = Date.now();
                                            var o, c = Math.max(0, Math.round((a - i) / ((n - s) / 1e3) * 100) / 100) || 0;
                                            o = 0 === a && 0 === e ? 1 : Math.floor(a / e * 100) / 100 || 0, s = n, i = a;
                                            try {
                                                t({
                                                    loaded: a,
                                                    total: e,
                                                    speed: c,
                                                    percent: o
                                                })
                                            } catch (e) {}
                                        }
                                    }
                                    return function(t, n) {
                                        if (t && (a = t.loaded, e = t.total), n) clearTimeout(r), c();
                                        else {
                                            if (r) return;
                                            r = setTimeout(c, o.options.ProgressInterval)
                                        }
                                    }
                                },
                                getFileSize: function(e, t, n) {
                                    var r;
                                    "string" == typeof t.Body ? t.Body = new Blob([t.Body], {
                                        type: "text/plain"
                                    }) : t.Body instanceof ArrayBuffer && (t.Body = new Blob([t.Body])), t.Body && (t.Body instanceof Blob || "[object File]" === t.Body.toString() || "[object Blob]" === t.Body.toString()) ? (r = t.Body.size, t.ContentLength = r, n(null, r)) : n(O.error(new Error("params body format error, Only allow File|Blob|String.")))
                                },
                                getSkewTime: T,
                                error: function(e, t) {
                                    var n = e;
                                    return e.message = e.message || null, "string" == typeof t ? (e.error = t, e.message = t) : "object" === r(t) && null !== t && (b(e, t), (t.code || t.name) && (e.code = t.code || t.name), t.message && (e.message = t.message), t.stack && (e.stack = t.stack)), "function" == typeof __WEBPACK_IMPORTED_MODULE_11_babel_runtime_core_js_object_define_property___default.a && (Object.defineProperty(e, "name", {
                                        writable: !0,
                                        enumerable: !1
                                    }), Object.defineProperty(e, "message", {
                                        enumerable: !0
                                    })), e.name = t && t.name || e.name || e.code || "Error", e.code || (e.code = e.name), e.error || (e.error = v(n)), e
                                },
                                obj2str: function(e, t) {
                                    var n, r, o, i = [],
                                        a = l(e);
                                    for (n = 0; n < a.length; n++) o = void 0 === e[r = a[n]] || null === e[r] ? "" : "" + e[r], r = t ? u(r).toLowerCase() : u(r), o = u(o) || "", i.push(r + "=" + o);
                                    return i.join("&")
                                },
                                getAuth: function(e) {
                                    var t, n = (e = e || {}).SecretId,
                                        r = e.SecretKey,
                                        o = e.KeyTime,
                                        a = (e.method || e.Method || "get").toLowerCase(),
                                        s = v(e.Query || e.params || {}),
                                        c = function(e) {
                                            var t = {};
                                            for (var n in e) {
                                                var r = n.toLowerCase();
                                                (r.indexOf("x-cos-") > -1 || f.indexOf(r) > -1) && (t[n] = e[n])
                                            }
                                            return t
                                        }(v(e.Headers || e.headers || {})),
                                        u = e.Key || "";
                                    e.UseRawKey ? t = e.Pathname || e.pathname || "/" + u : 0 !== (t = e.Pathname || e.pathname || u).indexOf("/") && (t = "/" + t);
                                    var d = !1 !== e.ForceSignHost;
                                    if (!c.Host && !c.host && e.Bucket && e.Region && d && (c.Host = e.Bucket + ".cos." + e.Region + ".myqcloud.com"), !n) throw new Error("missing param SecretId");
                                    if (!r) throw new Error("missing param SecretKey");
                                    var p = Math.round(T(e.SystemClockOffset) / 1e3) - 1,
                                        h = p,
                                        _ = e.Expires || e.expires;
                                    h += void 0 === _ ? 900 : 1 * _ || 0;
                                    var m = n,
                                        g = o || p + ";" + h,
                                        y = o || p + ";" + h,
                                        b = l(c, !0).join(";").toLowerCase(),
                                        C = l(s, !0).join(";").toLowerCase(),
                                        E = i.HmacSHA1(y, r).toString(),
                                        w = [a, t, O.obj2str(s, !0), O.obj2str(c, !0), ""].join("\n"),
                                        k = ["sha1", g, i.SHA1(w).toString(), ""].join("\n");
                                    return ["q-sign-algorithm=sha1", "q-ak=" + m, "q-sign-time=" + g, "q-key-time=" + y, "q-header-list=" + b, "q-url-param-list=" + C, "q-signature=" + i.HmacSHA1(k, E).toString()].join("&")
                                },
                                parseSelectPayload: function(e) {
                                    for (var t = {}, n = h(e), r = {
                                            records: []
                                        }; e.byteLength;) {
                                        var o, i = p(e, 32, 0),
                                            a = p(e, 32, 4),
                                            s = i - a - 16,
                                            c = 0;
                                        for (e = e.slice(12); c < a;) {
                                            var u = p(e, 8, c),
                                                l = h(e, c + 1, c + 1 + u),
                                                d = p(e, 16, c + u + 2),
                                                f = h(e, c + u + 4, c + u + 4 + d);
                                            t[l] = f, c += u + 4 + d
                                        }
                                        if ("Records" === t[":event-type"]) o = h(e, c, c + s, !0), r.records.push(o);
                                        else if ("Stats" === t[":event-type"]) o = h(e, c, c + s, !0), r.stats = O.xml2json(o).Stats;
                                        else if ("error" === t[":event-type"]) {
                                            var _ = t[":error-code"],
                                                m = t[":error-message"],
                                                g = new Error(m);
                                            g.message = m, g.name = g.code = _, r.error = g
                                        } else ["Progress", "Continuation", "End"].includes(t[":event-type"]);
                                        e = e.slice(c + s + 4)
                                    }
                                    return {
                                        payload: r.records.join(""),
                                        body: n
                                    }
                                },
                                getSourceParams: function(e) {
                                    var t = this.options.CopySourceParser;
                                    if (t) return t(e);
                                    var n = e.match(/^([^.]+-\d+)\.cos(v6|-cdc)?\.([^.]+)\.myqcloud\.com\/(.+)$/);
                                    return n ? {
                                        Bucket: n[1],
                                        Region: n[3],
                                        Key: n[4]
                                    } : null
                                },
                                isBrowser: !0,
                                isNode: function() {
                                    return "object" !== ("undefined" == typeof window ? "undefined" : r(window)) && "object" === (void 0 === t ? "undefined" : r(t)) && !("object" === ("undefined" == typeof globalThis ? "undefined" : r(globalThis)) && ("DedicatedWorkerGlobalScope" === globalThis.constructor.name || globalThis.FileReaderSync))
                                },
                                isCIHost: function(e) {
                                    return /^https?:\/\/([^/]+\.)?ci\.[^/]+/.test(e)
                                }
                            };
                        e.exports = O
                    }).call(this, n(3))
                }, function(e, t, n) {
                    function r(e, t) {
                        return void 0 === t && (t = Object), t && "function" == typeof t.freeze ? t.freeze(e) : e
                    }
                    var o = r({
                            HTML: "text/html",
                            isHTML: function(e) {
                                return e === o.HTML
                            },
                            XML_APPLICATION: "application/xml",
                            XML_TEXT: "text/xml",
                            XML_XHTML_APPLICATION: "application/xhtml+xml",
                            XML_SVG_IMAGE: "image/svg+xml"
                        }),
                        i = r({
                            HTML: "http://www.w3.org/1999/xhtml",
                            isHTML: function(e) {
                                return e === i.HTML
                            },
                            SVG: "http://www.w3.org/2000/svg",
                            XML: "http://www.w3.org/XML/1998/namespace",
                            XMLNS: "http://www.w3.org/2000/xmlns/"
                        });
                    t.assign = function(e, t) {
                        if (null === e || "object" != (void 0 === e ? "undefined" : __WEBPACK_IMPORTED_MODULE_12_babel_runtime_helpers_typeof___default()(e))) throw new TypeError("target is not an object");
                        for (var n in t) Object.prototype.hasOwnProperty.call(t, n) && (e[n] = t[n]);
                        return e
                    }, t.freeze = r, t.MIME_TYPE = o, t.NAMESPACE = i
                }, function(e, t) {
                    var n, r, o = e.exports = {};

                    function i() {
                        throw new Error("setTimeout has not been defined")
                    }

                    function a() {
                        throw new Error("clearTimeout has not been defined")
                    }

                    function s(e) {
                        if (n === setTimeout) return setTimeout(e, 0);
                        if ((n === i || !n) && setTimeout) return n = setTimeout, setTimeout(e, 0);
                        try {
                            return n(e, 0)
                        } catch (t) {
                            try {
                                return n.call(null, e, 0)
                            } catch (t) {
                                return n.call(this, e, 0)
                            }
                        }
                    }! function() {
                        try {
                            n = "function" == typeof setTimeout ? setTimeout : i
                        } catch (e) {
                            n = i
                        }
                        try {
                            r = "function" == typeof clearTimeout ? clearTimeout : a
                        } catch (e) {
                            r = a
                        }
                    }();
                    var c, u = [],
                        l = !1,
                        d = -1;

                    function f() {
                        l && c && (l = !1, c.length ? u = c.concat(u) : d = -1, u.length && p())
                    }

                    function p() {
                        if (!l) {
                            var e = s(f);
                            l = !0;
                            for (var t = u.length; t;) {
                                for (c = u, u = []; ++d < t;) c && c[d].run();
                                d = -1, t = u.length
                            }
                            c = null, l = !1,
                                function(e) {
                                    if (r === clearTimeout) return clearTimeout(e);
                                    if ((r === a || !r) && clearTimeout) return r = clearTimeout, clearTimeout(e);
                                    try {
                                        r(e)
                                    } catch (t) {
                                        try {
                                            return r.call(null, e)
                                        } catch (t) {
                                            return r.call(this, e)
                                        }
                                    }
                                }(e)
                        }
                    }

                    function h(e, t) {
                        this.fun = e, this.array = t
                    }

                    function _() {}
                    o.nextTick = function(e) {
                        var t = new Array(arguments.length - 1);
                        if (arguments.length > 1)
                            for (var n = 1; n < arguments.length; n++) t[n - 1] = arguments[n];
                        u.push(new h(e, t)), 1 !== u.length || l || s(p)
                    }, h.prototype.run = function() {
                        this.fun.apply(null, this.array)
                    }, o.title = "browser", o.browser = !0, o.env = {}, o.argv = [], o.version = "", o.versions = {}, o.on = _, o.addListener = _, o.once = _, o.off = _, o.removeListener = _, o.removeAllListeners = _, o.emit = _, o.prependListener = _, o.prependOnceListener = _, o.listeners = function(e) {
                        return []
                    }, o.binding = function(e) {
                        throw new Error("process.binding is not supported")
                    }, o.cwd = function() {
                        return "/"
                    }, o.chdir = function(e) {
                        throw new Error("process.chdir is not supported")
                    }, o.umask = function() {
                        return 0
                    }
                }, function(e, t) {
                    var n;
                    n = function() {
                        return this
                    }();
                    try {
                        n = n || new Function("return this")()
                    } catch (e) {
                        "object" == ("undefined" == typeof window ? "undefined" : __WEBPACK_IMPORTED_MODULE_12_babel_runtime_helpers_typeof___default()(window)) && (n = window)
                    }
                    e.exports = n
                }, function(e, t) {
                    e.exports = function(e) {
                        return e.webpackPolyfill || (e.deprecate = function() {}, e.paths = [], e.children || (e.children = []), Object.defineProperty(e, "loaded", {
                            enumerable: !0,
                            get: function() {
                                return e.l
                            }
                        }), Object.defineProperty(e, "id", {
                            enumerable: !0,
                            get: function() {
                                return e.i
                            }
                        }), e.webpackPolyfill = 1), e
                    }
                }, function(e, t, n) {
                    var r = n(2).NAMESPACE;

                    function o(e) {
                        return "" !== e
                    }

                    function i(e, t) {
                        return e.hasOwnProperty(t) || (e[t] = !0), e
                    }

                    function a(e) {
                        if (!e) return [];
                        var t = function(e) {
                            return e ? e.split(/[\t\n\f\r ]+/).filter(o) : []
                        }(e);
                        return __WEBPACK_IMPORTED_MODULE_5_babel_runtime_core_js_object_keys___default()(t.reduce(i, {}))
                    }

                    function s(e, t) {
                        for (var n in e) t[n] = e[n]
                    }

                    function c(e, t) {
                        var n = e.prototype;
                        if (!(n instanceof t)) {
                            var r = function() {};
                            r.prototype = t.prototype, s(n, r = new r), e.prototype = n = r
                        }
                        n.constructor != e && (n.constructor = e)
                    }
                    var u = {},
                        l = u.ELEMENT_NODE = 1,
                        d = u.ATTRIBUTE_NODE = 2,
                        f = u.TEXT_NODE = 3,
                        p = u.CDATA_SECTION_NODE = 4,
                        h = u.ENTITY_REFERENCE_NODE = 5,
                        _ = u.ENTITY_NODE = 6,
                        m = u.PROCESSING_INSTRUCTION_NODE = 7,
                        g = u.COMMENT_NODE = 8,
                        y = u.DOCUMENT_NODE = 9,
                        v = u.DOCUMENT_TYPE_NODE = 10,
                        b = u.DOCUMENT_FRAGMENT_NODE = 11,
                        C = u.NOTATION_NODE = 12,
                        E = {},
                        w = {},
                        k = (E.INDEX_SIZE_ERR = (w[1] = "Index size error", 1), E.DOMSTRING_SIZE_ERR = (w[2] = "DOMString size error", 2), E.HIERARCHY_REQUEST_ERR = (w[3] = "Hierarchy request error", 3)),
                        T = (E.WRONG_DOCUMENT_ERR = (w[4] = "Wrong document", 4), E.INVALID_CHARACTER_ERR = (w[5] = "Invalid character", 5), E.NO_DATA_ALLOWED_ERR = (w[6] = "No data allowed", 6), E.NO_MODIFICATION_ALLOWED_ERR = (w[7] = "No modification allowed", 7), E.NOT_FOUND_ERR = (w[8] = "Not found", 8)),
                        O = (E.NOT_SUPPORTED_ERR = (w[9] = "Not supported", 9), E.INUSE_ATTRIBUTE_ERR = (w[10] = "Attribute in use", 10));

                    function x(e, t) {
                        if (t instanceof Error) var n = t;
                        else n = this, Error.call(this, w[e]), this.message = w[e], Error.captureStackTrace && Error.captureStackTrace(this, x);
                        return n.code = e, t && (this.message = this.message + ": " + t), n
                    }

                    function D() {}

                    function S(e, t) {
                        this._node = e, this._refresh = t, R(this)
                    }

                    function R(e) {
                        var t = e._node._inc || e._node.ownerDocument._inc;
                        if (e._inc != t) {
                            var n = e._refresh(e._node);
                            se(e, "length", n.length), s(n, e), e._inc = t
                        }
                    }

                    function A() {}

                    function P(e, t) {
                        for (var n = e.length; n--;)
                            if (e[n] === t) return n
                    }

                    function I(e, t, n, o) {
                        if (o ? t[P(t, o)] = n : t[t.length++] = n, e) {
                            n.ownerElement = e;
                            var i = e.ownerDocument;
                            i && (o && K(i, e, o), function(e, t, n) {
                                i && i._inc++, n.namespaceURI === r.XMLNS && (t._nsMap[n.prefix ? n.localName : ""] = n.value)
                            }(0, e, n))
                        }
                    }

                    function B(e, t, n) {
                        var r = P(t, n);
                        if (!(r >= 0)) throw x(T, new Error(e.tagName + "@" + n));
                        for (var o = t.length - 1; r < o;) t[r] = t[++r];
                        if (t.length = o, e) {
                            var i = e.ownerDocument;
                            i && (K(i, e, n), n.ownerElement = null)
                        }
                    }

                    function M() {}

                    function U() {}

                    function j(e) {
                        return ("<" == e ? "&lt;" : ">" == e && "&gt;") || "&" == e && "&amp;" || '"' == e && "&quot;" || "&#" + e.charCodeAt() + ";"
                    }

                    function L(e, t) {
                        if (t(e)) return !0;
                        if (e = e.firstChild)
                            do {
                                if (L(e, t)) return !0
                            } while (e = e.nextSibling)
                    }

                    function N() {}

                    function K(e, t, n, o) {
                        e && e._inc++, n.namespaceURI === r.XMLNS && delete t._nsMap[n.prefix ? n.localName : ""]
                    }

                    function H(e, t, n) {
                        if (e && e._inc) {
                            e._inc++;
                            var r = t.childNodes;
                            if (n) r[r.length++] = n;
                            else {
                                for (var o = t.firstChild, i = 0; o;) r[i++] = o, o = o.nextSibling;
                                r.length = i, delete r[r.length]
                            }
                        }
                    }

                    function q(e, t) {
                        var n = t.previousSibling,
                            r = t.nextSibling;
                        return n ? n.nextSibling = r : e.firstChild = r, r ? r.previousSibling = n : e.lastChild = n, t.parentNode = null, t.previousSibling = null, t.nextSibling = null, H(e.ownerDocument, e), t
                    }

                    function F(e, t, n) {
                        var r = t.parentNode;
                        if (r && r.removeChild(t), t.nodeType === b) {
                            var o = t.firstChild;
                            if (null == o) return t;
                            var i = t.lastChild
                        } else o = i = t;
                        var a = n ? n.previousSibling : e.lastChild;
                        o.previousSibling = a, i.nextSibling = n, a ? a.nextSibling = o : e.firstChild = o, null == n ? e.lastChild = i : n.previousSibling = i;
                        do {
                            o.parentNode = e
                        } while (o !== i && (o = o.nextSibling));
                        return H(e.ownerDocument || e, e), t.nodeType == b && (t.firstChild = t.lastChild = null), t
                    }

                    function W() {
                        this._nsMap = {}
                    }

                    function z() {}

                    function X() {}

                    function G() {}

                    function V() {}

                    function Q() {}

                    function J() {}

                    function Y() {}

                    function $() {}

                    function Z() {}

                    function ee() {}

                    function te() {}

                    function ne() {}

                    function re(e, t) {
                        var n = [],
                            r = 9 == this.nodeType && this.documentElement || this,
                            o = r.prefix,
                            i = r.namespaceURI;
                        if (i && null == o && null == (o = r.lookupPrefix(i))) var a = [{
                            namespace: i,
                            prefix: null
                        }];
                        return ae(this, n, e, t, a), n.join("")
                    }

                    function oe(e, t, n) {
                        var o = e.prefix || "",
                            i = e.namespaceURI;
                        if (!i) return !1;
                        if ("xml" === o && i === r.XML || i === r.XMLNS) return !1;
                        for (var a = n.length; a--;) {
                            var s = n[a];
                            if (s.prefix === o) return s.namespace !== i
                        }
                        return !0
                    }

                    function ie(e, t, n) {
                        e.push(" ", t, '="', n.replace(/[<>&"\t\n\r]/g, j), '"')
                    }

                    function ae(e, t, n, o, i) {
                        if (i || (i = []), o) {
                            if (!(e = o(e))) return;
                            if ("string" == typeof e) return void t.push(e)
                        }
                        switch (e.nodeType) {
                            case l:
                                var a = e.attributes,
                                    s = a.length,
                                    c = e.firstChild,
                                    u = e.tagName,
                                    _ = u;
                                if (!(n = r.isHTML(e.namespaceURI) || n) && !e.prefix && e.namespaceURI) {
                                    for (var C, E = 0; E < a.length; E++)
                                        if ("xmlns" === a.item(E).name) {
                                            C = a.item(E).value;
                                            break
                                        } if (!C)
                                        for (var w = i.length - 1; w >= 0; w--)
                                            if ("" === (k = i[w]).prefix && k.namespace === e.namespaceURI) {
                                                C = k.namespace;
                                                break
                                            } if (C !== e.namespaceURI)
                                        for (w = i.length - 1; w >= 0; w--) {
                                            var k;
                                            if ((k = i[w]).namespace === e.namespaceURI) {
                                                k.prefix && (_ = k.prefix + ":" + u);
                                                break
                                            }
                                        }
                                }
                                t.push("<", _);
                                for (var T = 0; T < s; T++) "xmlns" == (O = a.item(T)).prefix ? i.push({
                                    prefix: O.localName,
                                    namespace: O.value
                                }) : "xmlns" == O.nodeName && i.push({
                                    prefix: "",
                                    namespace: O.value
                                });
                                for (T = 0; T < s; T++) {
                                    var O, x, D;
                                    oe(O = a.item(T), 0, i) && (ie(t, (x = O.prefix || "") ? "xmlns:" + x : "xmlns", D = O.namespaceURI), i.push({
                                        prefix: x,
                                        namespace: D
                                    })), ae(O, t, n, o, i)
                                }
                                if (u === _ && oe(e, 0, i) && (ie(t, (x = e.prefix || "") ? "xmlns:" + x : "xmlns", D = e.namespaceURI), i.push({
                                        prefix: x,
                                        namespace: D
                                    })), c || n && !/^(?:meta|link|img|br|hr|input)$/i.test(u)) {
                                    if (t.push(">"), n && /^script$/i.test(u))
                                        for (; c;) c.data ? t.push(c.data) : ae(c, t, n, o, i.slice()), c = c.nextSibling;
                                    else
                                        for (; c;) ae(c, t, n, o, i.slice()), c = c.nextSibling;
                                    t.push("</", _, ">")
                                } else t.push("/>");
                                return;
                            case y:
                            case b:
                                for (c = e.firstChild; c;) ae(c, t, n, o, i.slice()), c = c.nextSibling;
                                return;
                            case d:
                                return ie(t, e.name, e.value);
                            case f:
                                return t.push(e.data.replace(/[<&>]/g, j));
                            case p:
                                return t.push("<![CDATA[", e.data, "]]>");
                            case g:
                                return t.push("\x3c!--", e.data, "--\x3e");
                            case v:
                                var S = e.publicId,
                                    R = e.systemId;
                                if (t.push("<!DOCTYPE ", e.name), S) t.push(" PUBLIC ", S), R && "." != R && t.push(" ", R), t.push(">");
                                else if (R && "." != R) t.push(" SYSTEM ", R, ">");
                                else {
                                    var A = e.internalSubset;
                                    A && t.push(" [", A, "]"), t.push(">")
                                }
                                return;
                            case m:
                                return t.push("<?", e.target, " ", e.data, "?>");
                            case h:
                                return t.push("&", e.nodeName, ";");
                            default:
                                t.push("??", e.nodeName)
                        }
                    }

                    function se(e, t, n) {
                        e[t] = n
                    }
                    E.INVALID_STATE_ERR = (w[11] = "Invalid state", 11), E.SYNTAX_ERR = (w[12] = "Syntax error", 12), E.INVALID_MODIFICATION_ERR = (w[13] = "Invalid modification", 13), E.NAMESPACE_ERR = (w[14] = "Invalid namespace", 14), E.INVALID_ACCESS_ERR = (w[15] = "Invalid access", 15), x.prototype = Error.prototype, s(E, x), D.prototype = {
                        length: 0,
                        item: function(e) {
                            return this[e] || null
                        },
                        toString: function(e, t) {
                            for (var n = [], r = 0; r < this.length; r++) ae(this[r], n, e, t);
                            return n.join("")
                        }
                    }, S.prototype.item = function(e) {
                        return R(this), this[e]
                    }, c(S, D), A.prototype = {
                        length: 0,
                        item: D.prototype.item,
                        getNamedItem: function(e) {
                            for (var t = this.length; t--;) {
                                var n = this[t];
                                if (n.nodeName == e) return n
                            }
                        },
                        setNamedItem: function(e) {
                            var t = e.ownerElement;
                            if (t && t != this._ownerElement) throw new x(O);
                            var n = this.getNamedItem(e.nodeName);
                            return I(this._ownerElement, this, e, n), n
                        },
                        setNamedItemNS: function(e) {
                            var t, n = e.ownerElement;
                            if (n && n != this._ownerElement) throw new x(O);
                            return t = this.getNamedItemNS(e.namespaceURI, e.localName), I(this._ownerElement, this, e, t), t
                        },
                        removeNamedItem: function(e) {
                            var t = this.getNamedItem(e);
                            return B(this._ownerElement, this, t), t
                        },
                        removeNamedItemNS: function(e, t) {
                            var n = this.getNamedItemNS(e, t);
                            return B(this._ownerElement, this, n), n
                        },
                        getNamedItemNS: function(e, t) {
                            for (var n = this.length; n--;) {
                                var r = this[n];
                                if (r.localName == t && r.namespaceURI == e) return r
                            }
                            return null
                        }
                    }, M.prototype = {
                        hasFeature: function(e, t) {
                            return !0
                        },
                        createDocument: function(e, t, n) {
                            var r = new N;
                            if (r.implementation = this, r.childNodes = new D, r.doctype = n || null, n && r.appendChild(n), t) {
                                var o = r.createElementNS(e, t);
                                r.appendChild(o)
                            }
                            return r
                        },
                        createDocumentType: function(e, t, n) {
                            var r = new J;
                            return r.name = e, r.nodeName = e, r.publicId = t || "", r.systemId = n || "", r
                        }
                    }, U.prototype = {
                        firstChild: null,
                        lastChild: null,
                        previousSibling: null,
                        nextSibling: null,
                        attributes: null,
                        parentNode: null,
                        childNodes: null,
                        ownerDocument: null,
                        nodeValue: null,
                        namespaceURI: null,
                        prefix: null,
                        localName: null,
                        insertBefore: function(e, t) {
                            return F(this, e, t)
                        },
                        replaceChild: function(e, t) {
                            this.insertBefore(e, t), t && this.removeChild(t)
                        },
                        removeChild: function(e) {
                            return q(this, e)
                        },
                        appendChild: function(e) {
                            return this.insertBefore(e, null)
                        },
                        hasChildNodes: function() {
                            return null != this.firstChild
                        },
                        cloneNode: function(e) {
                            return function e(t, n, r) {
                                var o = new n.constructor;
                                for (var i in n) {
                                    var a = n[i];
                                    "object" != (void 0 === a ? "undefined" : __WEBPACK_IMPORTED_MODULE_12_babel_runtime_helpers_typeof___default()(a)) && a != o[i] && (o[i] = a)
                                }
                                switch (n.childNodes && (o.childNodes = new D), o.ownerDocument = t, o.nodeType) {
                                    case l:
                                        var s = n.attributes,
                                            c = o.attributes = new A,
                                            u = s.length;
                                        c._ownerElement = o;
                                        for (var f = 0; f < u; f++) o.setAttributeNode(e(t, s.item(f), !0));
                                        break;
                                    case d:
                                        r = !0
                                }
                                if (r)
                                    for (var p = n.firstChild; p;) o.appendChild(e(t, p, r)), p = p.nextSibling;
                                return o
                            }(this.ownerDocument || this, this, e)
                        },
                        normalize: function() {
                            for (var e = this.firstChild; e;) {
                                var t = e.nextSibling;
                                t && t.nodeType == f && e.nodeType == f ? (this.removeChild(t), e.appendData(t.data)) : (e.normalize(), e = t)
                            }
                        },
                        isSupported: function(e, t) {
                            return this.ownerDocument.implementation.hasFeature(e, t)
                        },
                        hasAttributes: function() {
                            return this.attributes.length > 0
                        },
                        lookupPrefix: function(e) {
                            for (var t = this; t;) {
                                var n = t._nsMap;
                                if (n)
                                    for (var r in n)
                                        if (n[r] == e) return r;
                                t = t.nodeType == d ? t.ownerDocument : t.parentNode
                            }
                            return null
                        },
                        lookupNamespaceURI: function(e) {
                            for (var t = this; t;) {
                                var n = t._nsMap;
                                if (n && e in n) return n[e];
                                t = t.nodeType == d ? t.ownerDocument : t.parentNode
                            }
                            return null
                        },
                        isDefaultNamespace: function(e) {
                            return null == this.lookupPrefix(e)
                        }
                    }, s(u, U), s(u, U.prototype), N.prototype = {
                        nodeName: "#document",
                        nodeType: y,
                        doctype: null,
                        documentElement: null,
                        _inc: 1,
                        insertBefore: function(e, t) {
                            if (e.nodeType == b) {
                                for (var n = e.firstChild; n;) {
                                    var r = n.nextSibling;
                                    this.insertBefore(n, t), n = r
                                }
                                return e
                            }
                            return null == this.documentElement && e.nodeType == l && (this.documentElement = e), F(this, e, t), e.ownerDocument = this, e
                        },
                        removeChild: function(e) {
                            return this.documentElement == e && (this.documentElement = null), q(this, e)
                        },
                        importNode: function(e, t) {
                            return function e(t, n, r) {
                                var o;
                                switch (n.nodeType) {
                                    case l:
                                        (o = n.cloneNode(!1)).ownerDocument = t;
                                    case b:
                                        break;
                                    case d:
                                        r = !0
                                }
                                if (o || (o = n.cloneNode(!1)), o.ownerDocument = t, o.parentNode = null, r)
                                    for (var i = n.firstChild; i;) o.appendChild(e(t, i, r)), i = i.nextSibling;
                                return o
                            }(this, e, t)
                        },
                        getElementById: function(e) {
                            var t = null;
                            return L(this.documentElement, function(n) {
                                if (n.nodeType == l && n.getAttribute("id") == e) return t = n, !0
                            }), t
                        },
                        getElementsByClassName: function(e) {
                            var t = a(e);
                            return new S(this, function(n) {
                                var r = [];
                                return t.length > 0 && L(n.documentElement, function(o) {
                                    if (o !== n && o.nodeType === l) {
                                        var i = o.getAttribute("class");
                                        if (i) {
                                            var s = e === i;
                                            if (!s) {
                                                var c = a(i);
                                                s = t.every((u = c, function(e) {
                                                    return u && -1 !== u.indexOf(e)
                                                }))
                                            }
                                            s && r.push(o)
                                        }
                                    }
                                    var u
                                }), r
                            })
                        },
                        createElement: function(e) {
                            var t = new W;
                            return t.ownerDocument = this, t.nodeName = e, t.tagName = e, t.localName = e, t.childNodes = new D, (t.attributes = new A)._ownerElement = t, t
                        },
                        createDocumentFragment: function() {
                            var e = new ee;
                            return e.ownerDocument = this, e.childNodes = new D, e
                        },
                        createTextNode: function(e) {
                            var t = new G;
                            return t.ownerDocument = this, t.appendData(e), t
                        },
                        createComment: function(e) {
                            var t = new V;
                            return t.ownerDocument = this, t.appendData(e), t
                        },
                        createCDATASection: function(e) {
                            var t = new Q;
                            return t.ownerDocument = this, t.appendData(e), t
                        },
                        createProcessingInstruction: function(e, t) {
                            var n = new te;
                            return n.ownerDocument = this, n.tagName = n.target = e, n.nodeValue = n.data = t, n
                        },
                        createAttribute: function(e) {
                            var t = new z;
                            return t.ownerDocument = this, t.name = e, t.nodeName = e, t.localName = e, t.specified = !0, t
                        },
                        createEntityReference: function(e) {
                            var t = new Z;
                            return t.ownerDocument = this, t.nodeName = e, t
                        },
                        createElementNS: function(e, t) {
                            var n = new W,
                                r = t.split(":"),
                                o = n.attributes = new A;
                            return n.childNodes = new D, n.ownerDocument = this, n.nodeName = t, n.tagName = t, n.namespaceURI = e, 2 == r.length ? (n.prefix = r[0], n.localName = r[1]) : n.localName = t, o._ownerElement = n, n
                        },
                        createAttributeNS: function(e, t) {
                            var n = new z,
                                r = t.split(":");
                            return n.ownerDocument = this, n.nodeName = t, n.name = t, n.namespaceURI = e, n.specified = !0, 2 == r.length ? (n.prefix = r[0], n.localName = r[1]) : n.localName = t, n
                        }
                    }, c(N, U), W.prototype = {
                        nodeType: l,
                        hasAttribute: function(e) {
                            return null != this.getAttributeNode(e)
                        },
                        getAttribute: function(e) {
                            var t = this.getAttributeNode(e);
                            return t && t.value || ""
                        },
                        getAttributeNode: function(e) {
                            return this.attributes.getNamedItem(e)
                        },
                        setAttribute: function(e, t) {
                            var n = this.ownerDocument.createAttribute(e);
                            n.value = n.nodeValue = "" + t, this.setAttributeNode(n)
                        },
                        removeAttribute: function(e) {
                            var t = this.getAttributeNode(e);
                            t && this.removeAttributeNode(t)
                        },
                        appendChild: function(e) {
                            return e.nodeType === b ? this.insertBefore(e, null) : function(e, t) {
                                return t.parentNode && t.parentNode.removeChild(t), t.parentNode = e, t.previousSibling = e.lastChild, t.nextSibling = null, t.previousSibling ? t.previousSibling.nextSibling = t : e.firstChild = t, e.lastChild = t, H(e.ownerDocument, e, t), t
                            }(this, e)
                        },
                        setAttributeNode: function(e) {
                            return this.attributes.setNamedItem(e)
                        },
                        setAttributeNodeNS: function(e) {
                            return this.attributes.setNamedItemNS(e)
                        },
                        removeAttributeNode: function(e) {
                            return this.attributes.removeNamedItem(e.nodeName)
                        },
                        removeAttributeNS: function(e, t) {
                            var n = this.getAttributeNodeNS(e, t);
                            n && this.removeAttributeNode(n)
                        },
                        hasAttributeNS: function(e, t) {
                            return null != this.getAttributeNodeNS(e, t)
                        },
                        getAttributeNS: function(e, t) {
                            var n = this.getAttributeNodeNS(e, t);
                            return n && n.value || ""
                        },
                        setAttributeNS: function(e, t, n) {
                            var r = this.ownerDocument.createAttributeNS(e, t);
                            r.value = r.nodeValue = "" + n, this.setAttributeNode(r)
                        },
                        getAttributeNodeNS: function(e, t) {
                            return this.attributes.getNamedItemNS(e, t)
                        },
                        getElementsByTagName: function(e) {
                            return new S(this, function(t) {
                                var n = [];
                                return L(t, function(r) {
                                    r === t || r.nodeType != l || "*" !== e && r.tagName != e || n.push(r)
                                }), n
                            })
                        },
                        getElementsByTagNameNS: function(e, t) {
                            return new S(this, function(n) {
                                var r = [];
                                return L(n, function(o) {
                                    o === n || o.nodeType !== l || "*" !== e && o.namespaceURI !== e || "*" !== t && o.localName != t || r.push(o)
                                }), r
                            })
                        }
                    }, N.prototype.getElementsByTagName = W.prototype.getElementsByTagName, N.prototype.getElementsByTagNameNS = W.prototype.getElementsByTagNameNS, c(W, U), z.prototype.nodeType = d, c(z, U), X.prototype = {
                        data: "",
                        substringData: function(e, t) {
                            return this.data.substring(e, e + t)
                        },
                        appendData: function(e) {
                            e = this.data + e, this.nodeValue = this.data = e, this.length = e.length
                        },
                        insertData: function(e, t) {
                            this.replaceData(e, 0, t)
                        },
                        appendChild: function(e) {
                            throw new Error(w[k])
                        },
                        deleteData: function(e, t) {
                            this.replaceData(e, t, "")
                        },
                        replaceData: function(e, t, n) {
                            n = this.data.substring(0, e) + n + this.data.substring(e + t), this.nodeValue = this.data = n, this.length = n.length
                        }
                    }, c(X, U), G.prototype = {
                        nodeName: "#text",
                        nodeType: f,
                        splitText: function(e) {
                            var t = this.data,
                                n = t.substring(e);
                            t = t.substring(0, e), this.data = this.nodeValue = t, this.length = t.length;
                            var r = this.ownerDocument.createTextNode(n);
                            return this.parentNode && this.parentNode.insertBefore(r, this.nextSibling), r
                        }
                    }, c(G, X), V.prototype = {
                        nodeName: "#comment",
                        nodeType: g
                    }, c(V, X), Q.prototype = {
                        nodeName: "#cdata-section",
                        nodeType: p
                    }, c(Q, X), J.prototype.nodeType = v, c(J, U), Y.prototype.nodeType = C, c(Y, U), $.prototype.nodeType = _, c($, U), Z.prototype.nodeType = h, c(Z, U), ee.prototype.nodeName = "#document-fragment", ee.prototype.nodeType = b, c(ee, U), te.prototype.nodeType = m, c(te, U), ne.prototype.serializeToString = function(e, t, n) {
                        return re.call(e, t, n)
                    }, U.prototype.toString = re;
                    try {
                        if (__WEBPACK_IMPORTED_MODULE_11_babel_runtime_core_js_object_define_property___default.a) {
                            Object.defineProperty(S.prototype, "length", {
                                get: function() {
                                    return R(this), this.$$length
                                }
                            }), Object.defineProperty(U.prototype, "textContent", {
                                get: function() {
                                    return function e(t) {
                                        switch (t.nodeType) {
                                            case l:
                                            case b:
                                                var n = [];
                                                for (t = t.firstChild; t;) 7 !== t.nodeType && 8 !== t.nodeType && n.push(e(t)), t = t.nextSibling;
                                                return n.join("");
                                            default:
                                                return t.nodeValue
                                        }
                                    }(this)
                                },
                                set: function(e) {
                                    switch (this.nodeType) {
                                        case l:
                                        case b:
                                            for (; this.firstChild;) this.removeChild(this.firstChild);
                                            (e || String(e)) && this.appendChild(this.ownerDocument.createTextNode(e));
                                            break;
                                        default:
                                            this.data = e, this.value = e, this.nodeValue = e
                                    }
                                }
                            }), se = function(e, t, n) {
                                e["$$" + t] = n
                            }
                        }
                    } catch (e) {}
                    t.DocumentType = J, t.DOMException = x, t.DOMImplementation = M, t.Element = W, t.Node = U, t.NodeList = D, t.XMLSerializer = ne
                }, function(e, t, n) {
                    var r = n(22),
                        o = n(23),
                        i = n(0),
                        a = n(8),
                        s = n(24),
                        c = null,
                        u = function() {
                            var e = function() {
                                return (65536 * (1 + Math.random()) | 0).toString(16).substring(1)
                            };
                            return e() + e() + "-" + e() + "-" + e() + "-" + e() + "-" + e() + e() + e()
                        },
                        l = function() {
                            if ("object" === ("undefined" == typeof navigator ? "undefined" : i(navigator))) {
                                var e = navigator.connection || navigator.mozConnection || navigator.webkitConnection;
                                return (null == e ? void 0 : e.type) || (null == e ? void 0 : e.effectiveType) || "unknown"
                            }
                            return "unknown"
                        },
                        d = function() {
                            return !("object" !== ("undefined" == typeof navigator ? "undefined" : i(navigator)) || !navigator.userAgent.match(/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i))
                        },
                        f = {
                            isMobile: d(),
                            isBrowser: !d(),
                            mobileOsType: "object" === ("undefined" == typeof navigator ? "undefined" : i(navigator)) && navigator.userAgent.match(/(Android|Adr|Linux)/i) ? "android" : function() {
                                return !("object" !== ("undefined" == typeof navigator ? "undefined" : i(navigator)) || !navigator.userAgent.match(/(iPhone|iPod|iPad|iOS)/i))
                            } ? "ios" : "other_mobile",
                            pcOsType: function() {
                                if ("object" !== ("undefined" == typeof navigator ? "undefined" : i(navigator))) return "unknown os";
                                var e = navigator.userAgent.toLowerCase(),
                                    t = /macintosh|mac os x/i.test(navigator.userAgent);
                                return e.indexOf("win32") >= 0 || e.indexOf("wow32") >= 0 ? "win32" : e.indexOf("win64") >= 0 || e.indexOf("wow64") >= 0 ? "win64" : t ? "mac" : "unknown os"
                            }()
                        },
                        p = {
                            deviceType: f.isMobile ? "mobile" : f.isBrowser ? "browser" : "unknown",
                            devicePlatform: f.isMobile ? f.mobileOsType : f.pcOsType,
                            deviceName: function() {
                                if ("object" !== ("undefined" == typeof navigator ? "undefined" : i(navigator))) return "unknown device";
                                var e = navigator.userAgent.toLowerCase();
                                if (e.includes("app/tencent_wemeet")) return "tencent_wemeet";
                                if (e.indexOf("maxthon") >= 0) {
                                    var t = e.match(/maxthon\/([\d.]+)/),
                                        n = t && t[1] || "";
                                    return "傲游浏览器 ".concat(n).trim()
                                }
                                if (e.indexOf("qqbrowser") >= 0) {
                                    var r = e.match(/qqbrowser\/([\d.]+)/),
                                        o = r && r[1] || "";
                                    return "QQ浏览器 ".concat(o).trim()
                                }
                                if (e.indexOf("se 2.x") >= 0) return "搜狗浏览器";
                                if (e.indexOf("wxwork") >= 0) return "微信内置浏览器";
                                if (e.indexOf("msie") >= 0) {
                                    var a = e.match(/msie ([\d.]+)/),
                                        s = a && a[1] || "";
                                    return "IE ".concat(s).trim()
                                }
                                if (e.indexOf("firefox") >= 0) {
                                    var c = e.match(/firefox\/([\d.]+)/),
                                        u = c && c[1] || "";
                                    return "Firefox ".concat(u).trim()
                                }
                                if (e.indexOf("chrome") >= 0) {
                                    var l = e.match(/chrome\/([\d.]+)/),
                                        d = l && l[1] || "";
                                    return "Chrome ".concat(d).trim()
                                }
                                if (e.indexOf("opera") >= 0) {
                                    var f = e.match(/opera.([\d.]+)/),
                                        p = f && f[1] || "";
                                    return "Opera ".concat(p).trim()
                                }
                                if (e.indexOf("safari") >= 0) {
                                    var h = e.match(/version\/([\d.]+)/),
                                        _ = h && h[1] || "";
                                    return "Safari ".concat(_).trim()
                                }
                                if (e.indexOf("edge") >= 0) {
                                    var m = e.match(/edge\/([\d.]+)/),
                                        g = m && m[1] || "";
                                    return "edge ".concat(g).trim()
                                }
                                return e.substr(0, 200)
                            }()
                        },
                        h = ["multipartInit", "multipartUpload", "multipartComplete", "multipartList", "multipartListPart", "multipartAbort"],
                        _ = ["putObject", "postObject", "appendObject", "sliceUploadFile", "uploadFile", "uploadFiles"].concat(h),
                        m = ["getObject"];

                    function g(e) {
                        return e.replace(/([A-Z])/g, "_$1").toLowerCase()
                    }
                    var y = function() {
                        function e(t) {
                            r(this, e);
                            var n = t.parent,
                                o = t.traceId,
                                i = t.bucket,
                                l = t.region,
                                d = t.apiName,
                                f = t.fileKey,
                                h = t.fileSize,
                                _ = t.accelerate,
                                m = t.customId,
                                g = t.delay,
                                y = t.deepTracker,
                                v = i && i.substr(i.lastIndexOf("-") + 1) || "";
                            this.parent = n, this.deepTracker = y, this.params = {
                                cossdkVersion: a.version,
                                region: l,
                                networkType: "",
                                host: "",
                                accelerate: _ ? "Y" : "N",
                                requestPath: f || "",
                                size: h || -1,
                                httpMd5: 0,
                                httpSign: 0,
                                httpFull: 0,
                                name: d || "",
                                result: "",
                                tookTime: 0,
                                errorNode: "",
                                errorCode: "",
                                errorMessage: "",
                                errorRequestId: "",
                                errorStatusCode: 0,
                                errorServiceName: "",
                                tracePlatform: "cos-js-sdk-v5",
                                traceId: o || u(),
                                bucket: i,
                                appid: v,
                                partNumber: 0,
                                retryTimes: 0,
                                reqUrl: "",
                                customId: m || "",
                                deviceType: p.deviceType,
                                devicePlatform: p.devicePlatform,
                                deviceName: p.deviceName,
                                md5StartTime: 0,
                                md5EndTime: 0,
                                signStartTime: 0,
                                signEndTime: 0,
                                httpStartTime: 0,
                                httpEndTime: 0,
                                startTime: (new Date).getTime(),
                                endTime: 0
                            }, this.beacon = function(e) {
                                return c || (c = new s({
                                    appkey: "0AND0VEVB24UBGDU",
                                    versionCode: a.version,
                                    channelID: "js_sdk",
                                    openid: "openid",
                                    unionid: "unid",
                                    strictMode: !1,
                                    delay: e,
                                    sessionDuration: 6e4
                                })), c
                            }(g)
                        }
                        return o(e, [{
                            key: "formatResult",
                            value: function(e, t) {
                                var n, r, o, i, a, s, c = (new Date).getTime() - this.params.startTime,
                                    u = l(),
                                    d = e ? (null == e ? void 0 : e.code) || (null == e || null === (n = e.error) || void 0 === n ? void 0 : n.code) || (null == e || null === (r = e.error) || void 0 === r ? void 0 : r.Code) : "",
                                    f = e ? (null == e ? void 0 : e.message) || (null == e || null === (o = e.error) || void 0 === o ? void 0 : o.message) || (null == e || null === (i = e.error) || void 0 === i ? void 0 : i.Message) : "",
                                    p = e ? (null == e ? void 0 : e.resource) || (null == e || null === (a = e.error) || void 0 === a ? void 0 : a.resource) || (null == e || null === (s = e.error) || void 0 === s ? void 0 : s.Resource) : "",
                                    h = e ? null == e ? void 0 : e.statusCode : t.statusCode,
                                    _ = e ? (null == e ? void 0 : e.headers) && (null == e ? void 0 : e.headers["x-cos-request-id"]) : (null == t ? void 0 : t.headers) && (null == t ? void 0 : t.headers["x-cos-request-id"]),
                                    m = e ? _ ? "Server" : "Client" : "";
                                if (__WEBPACK_IMPORTED_MODULE_4_babel_runtime_core_js_object_assign___default()(this.params, {
                                        tookTime: c,
                                        networkType: u,
                                        httpMd5: this.params.md5EndTime - this.params.md5StartTime,
                                        httpSign: this.params.signEndTime - this.params.signStartTime,
                                        httpFull: this.params.httpEndTime - this.params.httpStartTime,
                                        result: e ? "Fail" : "Success",
                                        errorType: m,
                                        errorCode: d,
                                        errorStatusCode: h,
                                        errorMessage: f,
                                        errorServiceName: p,
                                        errorRequestId: _
                                    }), !e || d && f || (this.params.fullError = e ? __WEBPACK_IMPORTED_MODULE_3_babel_runtime_core_js_json_stringify___default()(e) : ""), "getObject" === this.params.name && (this.params.size = t ? t.headers && t.headers["content-length"] : -1), this.params.reqUrl) try {
                                    var g = /^http(s)?:\/\/(.*?)\//.exec(this.params.reqUrl);
                                    this.params.host = g[2]
                                } catch (e) {
                                    this.params.host = this.params.reqUrl
                                }
                                this.sendEvents()
                            }
                        }, {
                            key: "setParams",
                            value: function(e) {
                                __WEBPACK_IMPORTED_MODULE_4_babel_runtime_core_js_object_assign___default()(this.params, e)
                            }
                        }, {
                            key: "sendEvents",
                            value: function() {
                                if (!h.includes(this.params.name) || this.deepTracker) {
                                    var e, t = (e = this.params.name, _.includes(e) ? "cos_upload" : m.includes(e) ? "cos_download" : "base_service"),
                                        n = function(e) {
                                            var t = {},
                                                n = "Success" === e.result ? ["tracePlatform", "cossdkVersion", "region", "bucket", "appid", "networkType", "host", "accelerate", "requestPath", "partNumber", "size", "name", "result", "tookTime", "errorRequestId", "retryTimes", "reqUrl", "customId", "deviceType", "devicePlatform", "deviceName"] : ["tracePlatform", "cossdkVersion", "region", "networkType", "host", "accelerate", "requestPath", "size", "httpMd5", "httpSign", "httpFull", "name", "result", "tookTime", "errorNode", "errorCode", "errorMessage", "errorRequestId", "errorStatusCode", "errorServiceName", "errorType", "traceId", "bucket", "appid", "partNumber", "retryTimes", "reqUrl", "customId", "fullError", "deviceType", "devicePlatform", "deviceName"];
                                            for (var r in e) n.includes(r) && (t[g(r)] = e[r]);
                                            return t
                                        }(this.params);
                                    0 === this.params.delay ? this.beacon.onDirectUserAction(t, n) : this.beacon.onUserAction(t, n), this.destroy()
                                }
                            }
                        }, {
                            key: "generateSubTracker",
                            value: function(t) {
                                return __WEBPACK_IMPORTED_MODULE_4_babel_runtime_core_js_object_assign___default()(t, {
                                    parent: this,
                                    deepTracker: this.deepTracker,
                                    traceId: this.params.traceId,
                                    bucket: this.params.bucket,
                                    region: this.params.region,
                                    fileKey: this.params.requestPath,
                                    customId: this.params.customId,
                                    delay: this.params.delay
                                }), new e(t)
                            }
                        }, {
                            key: "destroy",
                            value: function() {
                                this.beacon = null, this.params = {}
                            }
                        }]), e
                    }();
                    e.exports = y
                }, function(e) {
                    e.exports = JSON.parse('{"name":"cos-js-sdk-v5","version":"1.4.6","description":"JavaScript SDK for [腾讯云对象存储](https://cloud.tencent.com/product/cos)","main":"dist/cos-js-sdk-v5.js","types":"index.d.ts","scripts":{"server":"node server/sts.js","dev":"cross-env NODE_ENV=development webpack -w --mode=development","build":"cross-env NODE_ENV=production webpack --mode=production","cos-auth.min.js":"uglifyjs ./demo/common/cos-auth.js -o ./demo/common/cos-auth.min.js -c -m"},"repository":{"type":"git","url":"git+https://github.com/tencentyun/cos-js-sdk-v5.git"},"keywords":[],"author":"carsonxu","license":"ISC","bugs":{"url":"https://github.com/tencentyun/cos-js-sdk-v5/issues"},"homepage":"https://github.com/tencentyun/cos-js-sdk-v5#readme","dependencies":{"@xmldom/xmldom":"^0.8.2"},"devDependencies":{"@babel/core":"7.17.9","@babel/plugin-transform-runtime":"7.18.10","@babel/preset-env":"7.16.11","babel-loader":"8.2.5","body-parser":"^1.18.3","cross-env":"^5.2.0","express":"^4.16.4","qcloud-cos-sts":"^3.0.2","request":"^2.87.0","terser-webpack-plugin":"4.2.3","webpack":"4.46.0","webpack-cli":"4.10.0"}}')
                }, function(e, t) {
                    var n = function(e) {
                        var t = {},
                            n = function(e) {
                                return !t[e] && (t[e] = []), t[e]
                            };
                        e.on = function(e, t) {
                            n(e).push(t)
                        }, e.off = function(e, t) {
                            for (var r = n(e), o = r.length - 1; o >= 0; o--) t === r[o] && r.splice(o, 1)
                        }, e.emit = function(e, t) {
                            for (var r = n(e).map(function(e) {
                                    return e
                                }), o = 0; o < r.length; o++) r[o](t)
                        }
                    };
                    e.exports.init = n, e.exports.EventProxy = function() {
                        n(this)
                    }
                }, function(e, t, n) {
                    var r, o, i = n(1),
                        a = "cos_sdk_upload_cache",
                        s = function() {
                            try {
                                r.length ? localStorage.setItem(a, __WEBPACK_IMPORTED_MODULE_3_babel_runtime_core_js_json_stringify___default()(r)) : localStorage.removeItem(a)
                            } catch (e) {}
                        },
                        c = function() {
                            if (!r) {
                                (function() {
                                    try {
                                        var e = JSON.parse(localStorage.getItem(a))
                                    } catch (e) {}
                                    e || (e = []), r = e
                                }).call(this);
                                for (var e = !1, t = Math.round(Date.now() / 1e3), n = r.length - 1; n >= 0; n--) {
                                    var o = r[n][2];
                                    (!o || o + 2592e3 < t) && (r.splice(n, 1), e = !0)
                                }
                                e && s()
                            }
                        },
                        u = function() {
                            o || (o = setTimeout(function() {
                                s(), o = null
                            }, 400))
                        },
                        l = {
                            using: {},
                            setUsing: function(e) {
                                l.using[e] = !0
                            },
                            removeUsing: function(e) {
                                delete l.using[e]
                            },
                            getFileId: function(e, t, n, r) {
                                return e.name && e.size && e.lastModifiedDate && t ? i.md5([e.name, e.size, e.lastModifiedDate, t, n, r].join("::")) : null
                            },
                            getCopyFileId: function(e, t, n, r, o) {
                                var a = t["content-length"],
                                    s = t.etag || "",
                                    c = t["last-modified"];
                                return e && n ? i.md5([e, a, s, c, n, r, o].join("::")) : null
                            },
                            getUploadIdList: function(e) {
                                if (!e) return null;
                                c.call(this);
                                for (var t = [], n = 0; n < r.length; n++) r[n][0] === e && t.push(r[n][1]);
                                return t.length ? t : null
                            },
                            saveUploadId: function(e, t, n) {
                                if (c.call(this), e) {
                                    for (var o = r.length - 1; o >= 0; o--) {
                                        var i = r[o];
                                        i[0] === e && i[1] === t && r.splice(o, 1)
                                    }
                                    r.unshift([e, t, Math.round(Date.now() / 1e3)]), r.length > n && r.splice(n), u()
                                }
                            },
                            removeUploadId: function(e) {
                                c.call(this), delete l.using[e];
                                for (var t = r.length - 1; t >= 0; t--) r[t][1] === e && r.splice(t, 1);
                                u()
                            }
                        };
                    e.exports = l
                }, function(e, t, n) {
                    var r = n(12);
                    e.exports = r
                }, function(e, t, n) {
                    var r = n(1),
                        o = n(9),
                        i = n(25),
                        a = n(26),
                        s = n(28),
                        c = n(8),
                        u = {
                            AppId: "",
                            SecretId: "",
                            SecretKey: "",
                            SecurityToken: "",
                            ChunkRetryTimes: 2,
                            FileParallelLimit: 3,
                            ChunkParallelLimit: 3,
                            ChunkSize: 1048576,
                            SliceSize: 1048576,
                            CopyChunkParallelLimit: 20,
                            CopyChunkSize: 10485760,
                            CopySliceSize: 10485760,
                            MaxPartNumber: 1e4,
                            ProgressInterval: 1e3,
                            Domain: "",
                            ServiceDomain: "",
                            Protocol: "",
                            CompatibilityMode: !1,
                            ForcePathStyle: !1,
                            UseRawKey: !1,
                            Timeout: 0,
                            CorrectClockSkew: !0,
                            SystemClockOffset: 0,
                            UploadCheckContentMd5: !1,
                            UploadQueueSize: 1e4,
                            UploadAddMetaMd5: !1,
                            UploadIdCacheLimit: 50,
                            UseAccelerate: !1,
                            ForceSignHost: !0,
                            EnableTracker: !1,
                            DeepTracker: !1,
                            TrackerDelay: 5e3,
                            CustomId: ""
                        },
                        l = function(e) {
                            this.options = r.extend(r.clone(u), e || {}), this.options.FileParallelLimit = Math.max(1, this.options.FileParallelLimit), this.options.ChunkParallelLimit = Math.max(1, this.options.ChunkParallelLimit), this.options.ChunkRetryTimes = Math.max(0, this.options.ChunkRetryTimes), this.options.ChunkSize = Math.max(1048576, this.options.ChunkSize), this.options.CopyChunkParallelLimit = Math.max(1, this.options.CopyChunkParallelLimit), this.options.CopyChunkSize = Math.max(1048576, this.options.CopyChunkSize), this.options.CopySliceSize = Math.max(0, this.options.CopySliceSize), this.options.MaxPartNumber = Math.max(1024, Math.min(1e4, this.options.MaxPartNumber)), this.options.Timeout = Math.max(0, this.options.Timeout), this.options.AppId, this.options.SecretId && this.options.SecretId.indexOf(" "), this.options.SecretKey && this.options.SecretKey.indexOf(" "), r.isNode(), o.init(this), i.init(this)
                        };
                    a.init(l, i), s.init(l, i), l.util = {
                        md5: r.md5,
                        xml2json: r.xml2json,
                        json2xml: r.json2xml
                    }, l.getAuthorization = r.getAuth, l.version = c.version, e.exports = l
                }, function(module, exports, __webpack_require__) {
                    (function(process, global, module) {
                        var __WEBPACK_AMD_DEFINE_RESULT__, _typeof = __webpack_require__(0);
                        ! function() {
                            var ERROR = "input is invalid type",
                                WINDOW = "object" === ("undefined" == typeof window ? "undefined" : _typeof(window)),
                                root = WINDOW ? window : {};
                            root.JS_MD5_NO_WINDOW && (WINDOW = !1);
                            var WEB_WORKER = !WINDOW && "object" === ("undefined" == typeof self ? "undefined" : _typeof(self)),
                                NODE_JS = !root.JS_MD5_NO_NODE_JS && "object" === (void 0 === process ? "undefined" : _typeof(process)) && process.versions && process.versions.node;
                            NODE_JS ? root = global : WEB_WORKER && (root = self);
                            var COMMON_JS = !root.JS_MD5_NO_COMMON_JS && "object" === _typeof(module) && module.exports,
                                AMD = __webpack_require__(14),
                                ARRAY_BUFFER = !root.JS_MD5_NO_ARRAY_BUFFER && "undefined" != typeof ArrayBuffer,
                                HEX_CHARS = "0123456789abcdef".split(""),
                                EXTRA = [128, 32768, 8388608, -2147483648],
                                SHIFT = [0, 8, 16, 24],
                                OUTPUT_TYPES = ["hex", "array", "digest", "buffer", "arrayBuffer", "base64"],
                                BASE64_ENCODE_CHAR = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),
                                blocks = [],
                                buffer8;
                            if (ARRAY_BUFFER) {
                                var buffer = new ArrayBuffer(68);
                                buffer8 = new Uint8Array(buffer), blocks = new Uint32Array(buffer)
                            }!root.JS_MD5_NO_NODE_JS && Array.isArray || (Array.isArray = function(e) {
                                return "[object Array]" === Object.prototype.toString.call(e)
                            }), !ARRAY_BUFFER || !root.JS_MD5_NO_ARRAY_BUFFER_IS_VIEW && ArrayBuffer.isView || (ArrayBuffer.isView = function(e) {
                                return "object" === _typeof(e) && e.buffer && e.buffer.constructor === ArrayBuffer
                            });
                            var createOutputMethod = function(e) {
                                    return function(t, n) {
                                        return new Md5(!0).update(t, n)[e]()
                                    }
                                },
                                createMethod = function() {
                                    var e = createOutputMethod("hex");
                                    NODE_JS && (e = nodeWrap(e)), e.getCtx = e.create = function() {
                                        return new Md5
                                    }, e.update = function(t) {
                                        return e.create().update(t)
                                    };
                                    for (var t = 0; t < OUTPUT_TYPES.length; ++t) {
                                        var n = OUTPUT_TYPES[t];
                                        e[n] = createOutputMethod(n)
                                    }
                                    return e
                                },
                                nodeWrap = function nodeWrap(method) {
                                    var crypto = eval("require('crypto')"),
                                        Buffer = eval("require('buffer').Buffer"),
                                        nodeMethod = function(e) {
                                            if ("string" == typeof e) return crypto.createHash("md5").update(e, "utf8").digest("hex");
                                            if (null == e) throw ERROR;
                                            return e.constructor === ArrayBuffer && (e = new Uint8Array(e)), Array.isArray(e) || ArrayBuffer.isView(e) || e.constructor === Buffer ? crypto.createHash("md5").update(new Buffer(e)).digest("hex") : method(e)
                                        };
                                    return nodeMethod
                                };

                            function Md5(e) {
                                if (e) blocks[0] = blocks[16] = blocks[1] = blocks[2] = blocks[3] = blocks[4] = blocks[5] = blocks[6] = blocks[7] = blocks[8] = blocks[9] = blocks[10] = blocks[11] = blocks[12] = blocks[13] = blocks[14] = blocks[15] = 0, this.blocks = blocks, this.buffer8 = buffer8;
                                else if (ARRAY_BUFFER) {
                                    var t = new ArrayBuffer(68);
                                    this.buffer8 = new Uint8Array(t), this.blocks = new Uint32Array(t)
                                } else this.blocks = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
                                this.h0 = this.h1 = this.h2 = this.h3 = this.start = this.bytes = this.hBytes = 0, this.finalized = this.hashed = !1, this.first = !0
                            }
                            Md5.prototype.update = function(e, t) {
                                if (!this.finalized) {
                                    for (var n, r, o = 0, i = e.length, a = this.blocks, s = this.buffer8; o < i;) {
                                        if (this.hashed && (this.hashed = !1, a[0] = a[16], a[16] = a[1] = a[2] = a[3] = a[4] = a[5] = a[6] = a[7] = a[8] = a[9] = a[10] = a[11] = a[12] = a[13] = a[14] = a[15] = 0), ARRAY_BUFFER)
                                            for (r = this.start; o < i && r < 64; ++o) n = e.charCodeAt(o), t || n < 128 ? s[r++] = n : n < 2048 ? (s[r++] = 192 | n >> 6, s[r++] = 128 | 63 & n) : n < 55296 || n >= 57344 ? (s[r++] = 224 | n >> 12, s[r++] = 128 | n >> 6 & 63, s[r++] = 128 | 63 & n) : (n = 65536 + ((1023 & n) << 10 | 1023 & e.charCodeAt(++o)), s[r++] = 240 | n >> 18, s[r++] = 128 | n >> 12 & 63, s[r++] = 128 | n >> 6 & 63, s[r++] = 128 | 63 & n);
                                        else
                                            for (r = this.start; o < i && r < 64; ++o) n = e.charCodeAt(o), t || n < 128 ? a[r >> 2] |= n << SHIFT[3 & r++] : n < 2048 ? (a[r >> 2] |= (192 | n >> 6) << SHIFT[3 & r++], a[r >> 2] |= (128 | 63 & n) << SHIFT[3 & r++]) : n < 55296 || n >= 57344 ? (a[r >> 2] |= (224 | n >> 12) << SHIFT[3 & r++], a[r >> 2] |= (128 | n >> 6 & 63) << SHIFT[3 & r++], a[r >> 2] |= (128 | 63 & n) << SHIFT[3 & r++]) : (n = 65536 + ((1023 & n) << 10 | 1023 & e.charCodeAt(++o)), a[r >> 2] |= (240 | n >> 18) << SHIFT[3 & r++], a[r >> 2] |= (128 | n >> 12 & 63) << SHIFT[3 & r++], a[r >> 2] |= (128 | n >> 6 & 63) << SHIFT[3 & r++], a[r >> 2] |= (128 | 63 & n) << SHIFT[3 & r++]);
                                        this.lastByteIndex = r, this.bytes += r - this.start, r >= 64 ? (this.start = r - 64, this.hash(), this.hashed = !0) : this.start = r
                                    }
                                    return this.bytes > 4294967295 && (this.hBytes += this.bytes / 4294967296 << 0, this.bytes = this.bytes % 4294967296), this
                                }
                            }, Md5.prototype.finalize = function() {
                                if (!this.finalized) {
                                    this.finalized = !0;
                                    var e = this.blocks,
                                        t = this.lastByteIndex;
                                    e[t >> 2] |= EXTRA[3 & t], t >= 56 && (this.hashed || this.hash(), e[0] = e[16], e[16] = e[1] = e[2] = e[3] = e[4] = e[5] = e[6] = e[7] = e[8] = e[9] = e[10] = e[11] = e[12] = e[13] = e[14] = e[15] = 0), e[14] = this.bytes << 3, e[15] = this.hBytes << 3 | this.bytes >>> 29, this.hash()
                                }
                            }, Md5.prototype.hash = function() {
                                var e, t, n, r, o, i, a = this.blocks;
                                this.first ? t = ((t = ((e = ((e = a[0] - 680876937) << 7 | e >>> 25) - 271733879 << 0) ^ (n = ((n = (-271733879 ^ (r = ((r = (-1732584194 ^ 2004318071 & e) + a[1] - 117830708) << 12 | r >>> 20) + e << 0) & (-271733879 ^ e)) + a[2] - 1126478375) << 17 | n >>> 15) + r << 0) & (r ^ e)) + a[3] - 1316259209) << 22 | t >>> 10) + n << 0 : (e = this.h0, t = this.h1, n = this.h2, t = ((t += ((e = ((e += ((r = this.h3) ^ t & (n ^ r)) + a[0] - 680876936) << 7 | e >>> 25) + t << 0) ^ (n = ((n += (t ^ (r = ((r += (n ^ e & (t ^ n)) + a[1] - 389564586) << 12 | r >>> 20) + e << 0) & (e ^ t)) + a[2] + 606105819) << 17 | n >>> 15) + r << 0) & (r ^ e)) + a[3] - 1044525330) << 22 | t >>> 10) + n << 0), t = ((t += ((e = ((e += (r ^ t & (n ^ r)) + a[4] - 176418897) << 7 | e >>> 25) + t << 0) ^ (n = ((n += (t ^ (r = ((r += (n ^ e & (t ^ n)) + a[5] + 1200080426) << 12 | r >>> 20) + e << 0) & (e ^ t)) + a[6] - 1473231341) << 17 | n >>> 15) + r << 0) & (r ^ e)) + a[7] - 45705983) << 22 | t >>> 10) + n << 0, t = ((t += ((e = ((e += (r ^ t & (n ^ r)) + a[8] + 1770035416) << 7 | e >>> 25) + t << 0) ^ (n = ((n += (t ^ (r = ((r += (n ^ e & (t ^ n)) + a[9] - 1958414417) << 12 | r >>> 20) + e << 0) & (e ^ t)) + a[10] - 42063) << 17 | n >>> 15) + r << 0) & (r ^ e)) + a[11] - 1990404162) << 22 | t >>> 10) + n << 0, t = ((t += ((e = ((e += (r ^ t & (n ^ r)) + a[12] + 1804603682) << 7 | e >>> 25) + t << 0) ^ (n = ((n += (t ^ (r = ((r += (n ^ e & (t ^ n)) + a[13] - 40341101) << 12 | r >>> 20) + e << 0) & (e ^ t)) + a[14] - 1502002290) << 17 | n >>> 15) + r << 0) & (r ^ e)) + a[15] + 1236535329) << 22 | t >>> 10) + n << 0, t = ((t += ((r = ((r += (t ^ n & ((e = ((e += (n ^ r & (t ^ n)) + a[1] - 165796510) << 5 | e >>> 27) + t << 0) ^ t)) + a[6] - 1069501632) << 9 | r >>> 23) + e << 0) ^ e & ((n = ((n += (e ^ t & (r ^ e)) + a[11] + 643717713) << 14 | n >>> 18) + r << 0) ^ r)) + a[0] - 373897302) << 20 | t >>> 12) + n << 0, t = ((t += ((r = ((r += (t ^ n & ((e = ((e += (n ^ r & (t ^ n)) + a[5] - 701558691) << 5 | e >>> 27) + t << 0) ^ t)) + a[10] + 38016083) << 9 | r >>> 23) + e << 0) ^ e & ((n = ((n += (e ^ t & (r ^ e)) + a[15] - 660478335) << 14 | n >>> 18) + r << 0) ^ r)) + a[4] - 405537848) << 20 | t >>> 12) + n << 0, t = ((t += ((r = ((r += (t ^ n & ((e = ((e += (n ^ r & (t ^ n)) + a[9] + 568446438) << 5 | e >>> 27) + t << 0) ^ t)) + a[14] - 1019803690) << 9 | r >>> 23) + e << 0) ^ e & ((n = ((n += (e ^ t & (r ^ e)) + a[3] - 187363961) << 14 | n >>> 18) + r << 0) ^ r)) + a[8] + 1163531501) << 20 | t >>> 12) + n << 0, t = ((t += ((r = ((r += (t ^ n & ((e = ((e += (n ^ r & (t ^ n)) + a[13] - 1444681467) << 5 | e >>> 27) + t << 0) ^ t)) + a[2] - 51403784) << 9 | r >>> 23) + e << 0) ^ e & ((n = ((n += (e ^ t & (r ^ e)) + a[7] + 1735328473) << 14 | n >>> 18) + r << 0) ^ r)) + a[12] - 1926607734) << 20 | t >>> 12) + n << 0, t = ((t += ((i = (r = ((r += ((o = t ^ n) ^ (e = ((e += (o ^ r) + a[5] - 378558) << 4 | e >>> 28) + t << 0)) + a[8] - 2022574463) << 11 | r >>> 21) + e << 0) ^ e) ^ (n = ((n += (i ^ t) + a[11] + 1839030562) << 16 | n >>> 16) + r << 0)) + a[14] - 35309556) << 23 | t >>> 9) + n << 0, t = ((t += ((i = (r = ((r += ((o = t ^ n) ^ (e = ((e += (o ^ r) + a[1] - 1530992060) << 4 | e >>> 28) + t << 0)) + a[4] + 1272893353) << 11 | r >>> 21) + e << 0) ^ e) ^ (n = ((n += (i ^ t) + a[7] - 155497632) << 16 | n >>> 16) + r << 0)) + a[10] - 1094730640) << 23 | t >>> 9) + n << 0, t = ((t += ((i = (r = ((r += ((o = t ^ n) ^ (e = ((e += (o ^ r) + a[13] + 681279174) << 4 | e >>> 28) + t << 0)) + a[0] - 358537222) << 11 | r >>> 21) + e << 0) ^ e) ^ (n = ((n += (i ^ t) + a[3] - 722521979) << 16 | n >>> 16) + r << 0)) + a[6] + 76029189) << 23 | t >>> 9) + n << 0, t = ((t += ((i = (r = ((r += ((o = t ^ n) ^ (e = ((e += (o ^ r) + a[9] - 640364487) << 4 | e >>> 28) + t << 0)) + a[12] - 421815835) << 11 | r >>> 21) + e << 0) ^ e) ^ (n = ((n += (i ^ t) + a[15] + 530742520) << 16 | n >>> 16) + r << 0)) + a[2] - 995338651) << 23 | t >>> 9) + n << 0, t = ((t += ((r = ((r += (t ^ ((e = ((e += (n ^ (t | ~r)) + a[0] - 198630844) << 6 | e >>> 26) + t << 0) | ~n)) + a[7] + 1126891415) << 10 | r >>> 22) + e << 0) ^ ((n = ((n += (e ^ (r | ~t)) + a[14] - 1416354905) << 15 | n >>> 17) + r << 0) | ~e)) + a[5] - 57434055) << 21 | t >>> 11) + n << 0, t = ((t += ((r = ((r += (t ^ ((e = ((e += (n ^ (t | ~r)) + a[12] + 1700485571) << 6 | e >>> 26) + t << 0) | ~n)) + a[3] - 1894986606) << 10 | r >>> 22) + e << 0) ^ ((n = ((n += (e ^ (r | ~t)) + a[10] - 1051523) << 15 | n >>> 17) + r << 0) | ~e)) + a[1] - 2054922799) << 21 | t >>> 11) + n << 0, t = ((t += ((r = ((r += (t ^ ((e = ((e += (n ^ (t | ~r)) + a[8] + 1873313359) << 6 | e >>> 26) + t << 0) | ~n)) + a[15] - 30611744) << 10 | r >>> 22) + e << 0) ^ ((n = ((n += (e ^ (r | ~t)) + a[6] - 1560198380) << 15 | n >>> 17) + r << 0) | ~e)) + a[13] + 1309151649) << 21 | t >>> 11) + n << 0, t = ((t += ((r = ((r += (t ^ ((e = ((e += (n ^ (t | ~r)) + a[4] - 145523070) << 6 | e >>> 26) + t << 0) | ~n)) + a[11] - 1120210379) << 10 | r >>> 22) + e << 0) ^ ((n = ((n += (e ^ (r | ~t)) + a[2] + 718787259) << 15 | n >>> 17) + r << 0) | ~e)) + a[9] - 343485551) << 21 | t >>> 11) + n << 0, this.first ? (this.h0 = e + 1732584193 << 0, this.h1 = t - 271733879 << 0, this.h2 = n - 1732584194 << 0, this.h3 = r + 271733878 << 0, this.first = !1) : (this.h0 = this.h0 + e << 0, this.h1 = this.h1 + t << 0, this.h2 = this.h2 + n << 0, this.h3 = this.h3 + r << 0)
                            }, Md5.prototype.hex = function() {
                                this.finalize();
                                var e = this.h0,
                                    t = this.h1,
                                    n = this.h2,
                                    r = this.h3;
                                return HEX_CHARS[e >> 4 & 15] + HEX_CHARS[15 & e] + HEX_CHARS[e >> 12 & 15] + HEX_CHARS[e >> 8 & 15] + HEX_CHARS[e >> 20 & 15] + HEX_CHARS[e >> 16 & 15] + HEX_CHARS[e >> 28 & 15] + HEX_CHARS[e >> 24 & 15] + HEX_CHARS[t >> 4 & 15] + HEX_CHARS[15 & t] + HEX_CHARS[t >> 12 & 15] + HEX_CHARS[t >> 8 & 15] + HEX_CHARS[t >> 20 & 15] + HEX_CHARS[t >> 16 & 15] + HEX_CHARS[t >> 28 & 15] + HEX_CHARS[t >> 24 & 15] + HEX_CHARS[n >> 4 & 15] + HEX_CHARS[15 & n] + HEX_CHARS[n >> 12 & 15] + HEX_CHARS[n >> 8 & 15] + HEX_CHARS[n >> 20 & 15] + HEX_CHARS[n >> 16 & 15] + HEX_CHARS[n >> 28 & 15] + HEX_CHARS[n >> 24 & 15] + HEX_CHARS[r >> 4 & 15] + HEX_CHARS[15 & r] + HEX_CHARS[r >> 12 & 15] + HEX_CHARS[r >> 8 & 15] + HEX_CHARS[r >> 20 & 15] + HEX_CHARS[r >> 16 & 15] + HEX_CHARS[r >> 28 & 15] + HEX_CHARS[r >> 24 & 15]
                            }, Md5.prototype.toString = Md5.prototype.hex, Md5.prototype.digest = function(e) {
                                if ("hex" === e) return this.hex();
                                this.finalize();
                                var t = this.h0,
                                    n = this.h1,
                                    r = this.h2,
                                    o = this.h3;
                                return [255 & t, t >> 8 & 255, t >> 16 & 255, t >> 24 & 255, 255 & n, n >> 8 & 255, n >> 16 & 255, n >> 24 & 255, 255 & r, r >> 8 & 255, r >> 16 & 255, r >> 24 & 255, 255 & o, o >> 8 & 255, o >> 16 & 255, o >> 24 & 255]
                            }, Md5.prototype.array = Md5.prototype.digest, Md5.prototype.arrayBuffer = function() {
                                this.finalize();
                                var e = new ArrayBuffer(16),
                                    t = new Uint32Array(e);
                                return t[0] = this.h0, t[1] = this.h1, t[2] = this.h2, t[3] = this.h3, e
                            }, Md5.prototype.buffer = Md5.prototype.arrayBuffer, Md5.prototype.base64 = function() {
                                for (var e, t, n, r = "", o = this.array(), i = 0; i < 15;) e = o[i++], t = o[i++], n = o[i++], r += BASE64_ENCODE_CHAR[e >>> 2] + BASE64_ENCODE_CHAR[63 & (e << 4 | t >>> 4)] + BASE64_ENCODE_CHAR[63 & (t << 2 | n >>> 6)] + BASE64_ENCODE_CHAR[63 & n];
                                return e = o[i], r + (BASE64_ENCODE_CHAR[e >>> 2] + BASE64_ENCODE_CHAR[e << 4 & 63] + "==")
                            };
                            var exports = createMethod();
                            COMMON_JS ? module.exports = exports : (root.md5 = exports, AMD && (__WEBPACK_AMD_DEFINE_RESULT__ = function() {
                                return exports
                            }.call(exports, __webpack_require__, exports, module), void 0 === __WEBPACK_AMD_DEFINE_RESULT__ || (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)))
                        }()
                    }).call(this, __webpack_require__(3), __webpack_require__(4), __webpack_require__(5)(module))
                }, function(e, t) {
                    (function(t) {
                        e.exports = t
                    }).call(this, {})
                }, function(e, t, n) {
                    (function(e) {
                        var t, r, o, i, a, s, c, u = n(0),
                            l = l || function(e, t) {
                                var n = {},
                                    r = n.lib = {},
                                    o = function() {},
                                    i = r.Base = {
                                        extend: function(e) {
                                            o.prototype = this;
                                            var t = new o;
                                            return e && t.mixIn(e), t.hasOwnProperty("init") || (t.init = function() {
                                                t.$super.init.apply(this, arguments)
                                            }), t.init.prototype = t, t.$super = this, t
                                        },
                                        create: function() {
                                            var e = this.extend();
                                            return e.init.apply(e, arguments), e
                                        },
                                        init: function() {},
                                        mixIn: function(e) {
                                            for (var t in e) e.hasOwnProperty(t) && (this[t] = e[t]);
                                            e.hasOwnProperty("toString") && (this.toString = e.toString)
                                        },
                                        clone: function() {
                                            return this.init.prototype.extend(this)
                                        }
                                    },
                                    a = r.WordArray = i.extend({
                                        init: function(e, t) {
                                            e = this.words = e || [], this.sigBytes = null != t ? t : 4 * e.length
                                        },
                                        toString: function(e) {
                                            return (e || c).stringify(this)
                                        },
                                        concat: function(e) {
                                            var t = this.words,
                                                n = e.words,
                                                r = this.sigBytes;
                                            if (e = e.sigBytes, this.clamp(), r % 4)
                                                for (var o = 0; o < e; o++) t[r + o >>> 2] |= (n[o >>> 2] >>> 24 - o % 4 * 8 & 255) << 24 - (r + o) % 4 * 8;
                                            else if (65535 < n.length)
                                                for (o = 0; o < e; o += 4) t[r + o >>> 2] = n[o >>> 2];
                                            else t.push.apply(t, n);
                                            return this.sigBytes += e, this
                                        },
                                        clamp: function() {
                                            var t = this.words,
                                                n = this.sigBytes;
                                            t[n >>> 2] &= 4294967295 << 32 - n % 4 * 8, t.length = e.ceil(n / 4)
                                        },
                                        clone: function() {
                                            var e = i.clone.call(this);
                                            return e.words = this.words.slice(0), e
                                        },
                                        random: function(t) {
                                            for (var n = [], r = 0; r < t; r += 4) n.push(4294967296 * e.random() | 0);
                                            return new a.init(n, t)
                                        }
                                    }),
                                    s = n.enc = {},
                                    c = s.Hex = {
                                        stringify: function(e) {
                                            var t = e.words;
                                            e = e.sigBytes;
                                            for (var n = [], r = 0; r < e; r++) {
                                                var o = t[r >>> 2] >>> 24 - r % 4 * 8 & 255;
                                                n.push((o >>> 4).toString(16)), n.push((15 & o).toString(16))
                                            }
                                            return n.join("")
                                        },
                                        parse: function(e) {
                                            for (var t = e.length, n = [], r = 0; r < t; r += 2) n[r >>> 3] |= parseInt(e.substr(r, 2), 16) << 24 - r % 8 * 4;
                                            return new a.init(n, t / 2)
                                        }
                                    },
                                    u = s.Latin1 = {
                                        stringify: function(e) {
                                            var t = e.words;
                                            e = e.sigBytes;
                                            for (var n = [], r = 0; r < e; r++) n.push(String.fromCharCode(t[r >>> 2] >>> 24 - r % 4 * 8 & 255));
                                            return n.join("")
                                        },
                                        parse: function(e) {
                                            for (var t = e.length, n = [], r = 0; r < t; r++) n[r >>> 2] |= (255 & e.charCodeAt(r)) << 24 - r % 4 * 8;
                                            return new a.init(n, t)
                                        }
                                    },
                                    l = s.Utf8 = {
                                        stringify: function(e) {
                                            try {
                                                return decodeURIComponent(escape(u.stringify(e)))
                                            } catch (e) {
                                                throw Error("Malformed UTF-8 data")
                                            }
                                        },
                                        parse: function(e) {
                                            return u.parse(unescape(encodeURIComponent(e)))
                                        }
                                    },
                                    d = r.BufferedBlockAlgorithm = i.extend({
                                        reset: function() {
                                            this._data = new a.init, this._nDataBytes = 0
                                        },
                                        _append: function(e) {
                                            "string" == typeof e && (e = l.parse(e)), this._data.concat(e), this._nDataBytes += e.sigBytes
                                        },
                                        _process: function(t) {
                                            var n = this._data,
                                                r = n.words,
                                                o = n.sigBytes,
                                                i = this.blockSize,
                                                s = o / (4 * i);
                                            if (t = (s = t ? e.ceil(s) : e.max((0 | s) - this._minBufferSize, 0)) * i, o = e.min(4 * t, o), t) {
                                                for (var c = 0; c < t; c += i) this._doProcessBlock(r, c);
                                                c = r.splice(0, t), n.sigBytes -= o
                                            }
                                            return new a.init(c, o)
                                        },
                                        clone: function() {
                                            var e = i.clone.call(this);
                                            return e._data = this._data.clone(), e
                                        },
                                        _minBufferSize: 0
                                    });
                                r.Hasher = d.extend({
                                    cfg: i.extend(),
                                    init: function(e) {
                                        this.cfg = this.cfg.extend(e), this.reset()
                                    },
                                    reset: function() {
                                        d.reset.call(this), this._doReset()
                                    },
                                    update: function(e) {
                                        return this._append(e), this._process(), this
                                    },
                                    finalize: function(e) {
                                        return e && this._append(e), this._doFinalize()
                                    },
                                    blockSize: 16,
                                    _createHelper: function(e) {
                                        return function(t, n) {
                                            return new e.init(n).finalize(t)
                                        }
                                    },
                                    _createHmacHelper: function(e) {
                                        return function(t, n) {
                                            return new f.HMAC.init(e, n).finalize(t)
                                        }
                                    }
                                });
                                var f = n.algo = {};
                                return n
                            }(Math);
                        r = (a = (t = l).lib).WordArray, o = a.Hasher, i = [], a = t.algo.SHA1 = o.extend({
                                _doReset: function() {
                                    this._hash = new r.init([1732584193, 4023233417, 2562383102, 271733878, 3285377520])
                                },
                                _doProcessBlock: function(e, t) {
                                    for (var n = this._hash.words, r = n[0], o = n[1], a = n[2], s = n[3], c = n[4], u = 0; 80 > u; u++) {
                                        if (16 > u) i[u] = 0 | e[t + u];
                                        else {
                                            var l = i[u - 3] ^ i[u - 8] ^ i[u - 14] ^ i[u - 16];
                                            i[u] = l << 1 | l >>> 31
                                        }
                                        l = (r << 5 | r >>> 27) + c + i[u], l = 20 > u ? l + (1518500249 + (o & a | ~o & s)) : 40 > u ? l + (1859775393 + (o ^ a ^ s)) : 60 > u ? l + ((o & a | o & s | a & s) - 1894007588) : l + ((o ^ a ^ s) - 899497514), c = s, s = a, a = o << 30 | o >>> 2, o = r, r = l
                                    }
                                    n[0] = n[0] + r | 0, n[1] = n[1] + o | 0, n[2] = n[2] + a | 0, n[3] = n[3] + s | 0, n[4] = n[4] + c | 0
                                },
                                _doFinalize: function() {
                                    var e = this._data,
                                        t = e.words,
                                        n = 8 * this._nDataBytes,
                                        r = 8 * e.sigBytes;
                                    return t[r >>> 5] |= 128 << 24 - r % 32, t[14 + (r + 64 >>> 9 << 4)] = Math.floor(n / 4294967296), t[15 + (r + 64 >>> 9 << 4)] = n, e.sigBytes = 4 * t.length, this._process(), this._hash
                                },
                                clone: function() {
                                    var e = o.clone.call(this);
                                    return e._hash = this._hash.clone(), e
                                }
                            }), t.SHA1 = o._createHelper(a), t.HmacSHA1 = o._createHmacHelper(a),
                            function() {
                                var e = l,
                                    t = e.enc.Utf8;
                                e.algo.HMAC = e.lib.Base.extend({
                                    init: function(e, n) {
                                        e = this._hasher = new e.init, "string" == typeof n && (n = t.parse(n));
                                        var r = e.blockSize,
                                            o = 4 * r;
                                        n.sigBytes > o && (n = e.finalize(n)), n.clamp();
                                        for (var i = this._oKey = n.clone(), a = this._iKey = n.clone(), s = i.words, c = a.words, u = 0; u < r; u++) s[u] ^= 1549556828, c[u] ^= 909522486;
                                        i.sigBytes = a.sigBytes = o, this.reset()
                                    },
                                    reset: function() {
                                        var e = this._hasher;
                                        e.reset(), e.update(this._iKey)
                                    },
                                    update: function(e) {
                                        return this._hasher.update(e), this
                                    },
                                    finalize: function(e) {
                                        var t = this._hasher;
                                        return e = t.finalize(e), t.reset(), t.finalize(this._oKey.clone().concat(e))
                                    }
                                })
                            }(), c = (s = l).lib.WordArray, s.enc.Base64 = {
                                stringify: function(e) {
                                    var t = e.words,
                                        n = e.sigBytes,
                                        r = this._map;
                                    e.clamp();
                                    for (var o = [], i = 0; i < n; i += 3)
                                        for (var a = (t[i >>> 2] >>> 24 - i % 4 * 8 & 255) << 16 | (t[i + 1 >>> 2] >>> 24 - (i + 1) % 4 * 8 & 255) << 8 | t[i + 2 >>> 2] >>> 24 - (i + 2) % 4 * 8 & 255, s = 0; s < 4 && i + .75 * s < n; s++) o.push(r.charAt(a >>> 6 * (3 - s) & 63));
                                    var c = r.charAt(64);
                                    if (c)
                                        for (; o.length % 4;) o.push(c);
                                    return o.join("")
                                },
                                parse: function(e) {
                                    var t = e.length,
                                        n = this._map,
                                        r = n.charAt(64);
                                    if (r) {
                                        var o = e.indexOf(r); - 1 != o && (t = o)
                                    }
                                    for (var i = [], a = 0, s = 0; s < t; s++)
                                        if (s % 4) {
                                            var u = n.indexOf(e.charAt(s - 1)) << s % 4 * 2,
                                                l = n.indexOf(e.charAt(s)) >>> 6 - s % 4 * 2;
                                            i[a >>> 2] |= (u | l) << 24 - a % 4 * 8, a++
                                        } return c.create(i, a)
                                },
                                _map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="
                            }, "object" === u(e) ? e.exports = l : window.CryptoJS = l
                    }).call(this, n(5)(e))
                }, function(e, t, n) {
                    var r = n(17).DOMParser,
                        o = function() {
                            this.version = "1.3.5";
                            var e = {
                                    mergeCDATA: !0,
                                    normalize: !0,
                                    stripElemPrefix: !0
                                },
                                t = new RegExp(/(?!xmlns)^.*:/);
                            return new RegExp(/^\s+|\s+$/g), this.grokType = function(e) {
                                return /^\s*$/.test(e) ? null : /^(?:true|false)$/i.test(e) ? "true" === e.toLowerCase() : isFinite(e) ? parseFloat(e) : e
                            }, this.parseString = function(e, t) {
                                if (e) {
                                    var n = this.stringToXML(e);
                                    return n.getElementsByTagName("parsererror").length ? null : this.parseXML(n, t)
                                }
                                return null
                            }, this.parseXML = function(n, r) {
                                for (var i in r) e[i] = r[i];
                                var a = {},
                                    s = 0,
                                    c = "";
                                if (n.childNodes.length)
                                    for (var u, l, d, f = 0; f < n.childNodes.length; f++) 4 === (u = n.childNodes.item(f)).nodeType ? e.mergeCDATA && (c += u.nodeValue) : 3 === u.nodeType ? c += u.nodeValue : 1 === u.nodeType && (0 === s && (a = {}), l = e.stripElemPrefix ? u.nodeName.replace(t, "") : u.nodeName, d = o.parseXML(u), a.hasOwnProperty(l) ? (a[l].constructor !== Array && (a[l] = [a[l]]), a[l].push(d)) : (a[l] = d, s++));
                                return __WEBPACK_IMPORTED_MODULE_5_babel_runtime_core_js_object_keys___default()(a).length || (a = c || ""), a
                            }, this.xmlToString = function(e) {
                                try {
                                    return e.xml ? e.xml : (new XMLSerializer).serializeToString(e)
                                } catch (e) {
                                    return null
                                }
                            }, this.stringToXML = function(e) {
                                try {
                                    var t = null;
                                    return window.DOMParser ? t = (new r).parseFromString(e, "text/xml") : ((t = new ActiveXObject("Microsoft.XMLDOM")).async = !1, t.loadXML(e), t)
                                } catch (e) {
                                    return null
                                }
                            }, this
                        }.call({});
                    e.exports = function(e) {
                        return o.parseString(e)
                    }
                }, function(e, t, n) {
                    var r = n(6);
                    t.DOMImplementation = r.DOMImplementation, t.XMLSerializer = r.XMLSerializer, t.DOMParser = n(18).DOMParser
                }, function(e, t, n) {
                    var r = n(2),
                        o = n(6),
                        i = n(19),
                        a = n(20),
                        s = o.DOMImplementation,
                        c = r.NAMESPACE,
                        u = a.ParseError,
                        l = a.XMLReader;

                    function d(e) {
                        return e.replace(/\r[\n\u0085]/g, "\n").replace(/[\r\u0085\u2028]/g, "\n")
                    }

                    function f(e) {
                        this.options = e || {
                            locator: {}
                        }
                    }

                    function p() {
                        this.cdata = !1
                    }

                    function h(e, t) {
                        t.lineNumber = e.lineNumber, t.columnNumber = e.columnNumber
                    }

                    function _(e, t, n) {
                        return "string" == typeof e ? e.substr(t, n) : e.length >= t + n || t ? new java.lang.String(e, t, n) + "" : e
                    }

                    function m(e, t) {
                        e.currentElement ? e.currentElement.appendChild(t) : e.doc.appendChild(t)
                    }
                    f.prototype.parseFromString = function(e, t) {
                        var n = this.options,
                            r = new l,
                            o = n.domBuilder || new p,
                            a = n.errorHandler,
                            s = n.locator,
                            u = n.xmlns || {},
                            f = /\/x?html?$/.test(t),
                            h = f ? i.HTML_ENTITIES : i.XML_ENTITIES;
                        s && o.setDocumentLocator(s), r.errorHandler = function(e, t, n) {
                            if (!e) {
                                if (t instanceof p) return t;
                                e = t
                            }
                            var r = {},
                                o = e instanceof Function;

                            function i(t) {
                                var i = e[t];
                                !i && o && (i = 2 == e.length ? function(n) {
                                    e(t, n)
                                } : e), r[t] = i && function(e) {
                                    i("[xmldom " + t + "]\t" + e + function(e) {
                                        if (e) return "\n@" + (e.systemId || "") + "#[line:" + e.lineNumber + ",col:" + e.columnNumber + "]"
                                    }(n))
                                } || function() {}
                            }
                            return n = n || {}, i("warning"), i("error"), i("fatalError"), r
                        }(a, o, s), r.domBuilder = n.domBuilder || o, f && (u[""] = c.HTML), u.xml = u.xml || c.XML;
                        var _ = n.normalizeLineEndings || d;
                        return e && "string" == typeof e ? r.parse(_(e), u, h) : r.errorHandler.error("invalid doc source"), o.doc
                    }, p.prototype = {
                        startDocument: function() {
                            this.doc = (new s).createDocument(null, null, null), this.locator && (this.doc.documentURI = this.locator.systemId)
                        },
                        startElement: function(e, t, n, r) {
                            var o = this.doc,
                                i = o.createElementNS(e, n || t),
                                a = r.length;
                            m(this, i), this.currentElement = i, this.locator && h(this.locator, i);
                            for (var s = 0; s < a; s++) {
                                e = r.getURI(s);
                                var c = r.getValue(s),
                                    u = (n = r.getQName(s), o.createAttributeNS(e, n));
                                this.locator && h(r.getLocator(s), u), u.value = u.nodeValue = c, i.setAttributeNode(u)
                            }
                        },
                        endElement: function(e, t, n) {
                            var r = this.currentElement;
                            r.tagName, this.currentElement = r.parentNode
                        },
                        startPrefixMapping: function(e, t) {},
                        endPrefixMapping: function(e) {},
                        processingInstruction: function(e, t) {
                            var n = this.doc.createProcessingInstruction(e, t);
                            this.locator && h(this.locator, n), m(this, n)
                        },
                        ignorableWhitespace: function(e, t, n) {},
                        characters: function(e, t, n) {
                            if (e = _.apply(this, arguments)) {
                                if (this.cdata) var r = this.doc.createCDATASection(e);
                                else r = this.doc.createTextNode(e);
                                this.currentElement ? this.currentElement.appendChild(r) : /^\s*$/.test(e) && this.doc.appendChild(r), this.locator && h(this.locator, r)
                            }
                        },
                        skippedEntity: function(e) {},
                        endDocument: function() {
                            this.doc.normalize()
                        },
                        setDocumentLocator: function(e) {
                            (this.locator = e) && (e.lineNumber = 0)
                        },
                        comment: function(e, t, n) {
                            e = _.apply(this, arguments);
                            var r = this.doc.createComment(e);
                            this.locator && h(this.locator, r), m(this, r)
                        },
                        startCDATA: function() {
                            this.cdata = !0
                        },
                        endCDATA: function() {
                            this.cdata = !1
                        },
                        startDTD: function(e, t, n) {
                            var r = this.doc.implementation;
                            if (r && r.createDocumentType) {
                                var o = r.createDocumentType(e, t, n);
                                this.locator && h(this.locator, o), m(this, o), this.doc.doctype = o
                            }
                        },
                        warning: function(e) {},
                        error: function(e) {},
                        fatalError: function(e) {
                            throw new u(e, this.locator)
                        }
                    }, "endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g, function(e) {
                        p.prototype[e] = function() {
                            return null
                        }
                    }), t.__DOMHandler = p, t.normalizeLineEndings = d, t.DOMParser = f
                }, function(e, t, n) {
                    var r = n(2).freeze;
                    t.XML_ENTITIES = r({
                        amp: "&",
                        apos: "'",
                        gt: ">",
                        lt: "<",
                        quot: '"'
                    }), t.HTML_ENTITIES = r({
                        lt: "<",
                        gt: ">",
                        amp: "&",
                        quot: '"',
                        apos: "'",
                        Agrave: "À",
                        Aacute: "Á",
                        Acirc: "Â",
                        Atilde: "Ã",
                        Auml: "Ä",
                        Aring: "Å",
                        AElig: "Æ",
                        Ccedil: "Ç",
                        Egrave: "È",
                        Eacute: "É",
                        Ecirc: "Ê",
                        Euml: "Ë",
                        Igrave: "Ì",
                        Iacute: "Í",
                        Icirc: "Î",
                        Iuml: "Ï",
                        ETH: "Ð",
                        Ntilde: "Ñ",
                        Ograve: "Ò",
                        Oacute: "Ó",
                        Ocirc: "Ô",
                        Otilde: "Õ",
                        Ouml: "Ö",
                        Oslash: "Ø",
                        Ugrave: "Ù",
                        Uacute: "Ú",
                        Ucirc: "Û",
                        Uuml: "Ü",
                        Yacute: "Ý",
                        THORN: "Þ",
                        szlig: "ß",
                        agrave: "à",
                        aacute: "á",
                        acirc: "â",
                        atilde: "ã",
                        auml: "ä",
                        aring: "å",
                        aelig: "æ",
                        ccedil: "ç",
                        egrave: "è",
                        eacute: "é",
                        ecirc: "ê",
                        euml: "ë",
                        igrave: "ì",
                        iacute: "í",
                        icirc: "î",
                        iuml: "ï",
                        eth: "ð",
                        ntilde: "ñ",
                        ograve: "ò",
                        oacute: "ó",
                        ocirc: "ô",
                        otilde: "õ",
                        ouml: "ö",
                        oslash: "ø",
                        ugrave: "ù",
                        uacute: "ú",
                        ucirc: "û",
                        uuml: "ü",
                        yacute: "ý",
                        thorn: "þ",
                        yuml: "ÿ",
                        nbsp: " ",
                        iexcl: "¡",
                        cent: "¢",
                        pound: "£",
                        curren: "¤",
                        yen: "¥",
                        brvbar: "¦",
                        sect: "§",
                        uml: "¨",
                        copy: "©",
                        ordf: "ª",
                        laquo: "«",
                        not: "¬",
                        shy: "­­",
                        reg: "®",
                        macr: "¯",
                        deg: "°",
                        plusmn: "±",
                        sup2: "²",
                        sup3: "³",
                        acute: "´",
                        micro: "µ",
                        para: "¶",
                        middot: "·",
                        cedil: "¸",
                        sup1: "¹",
                        ordm: "º",
                        raquo: "»",
                        frac14: "¼",
                        frac12: "½",
                        frac34: "¾",
                        iquest: "¿",
                        times: "×",
                        divide: "÷",
                        forall: "∀",
                        part: "∂",
                        exist: "∃",
                        empty: "∅",
                        nabla: "∇",
                        isin: "∈",
                        notin: "∉",
                        ni: "∋",
                        prod: "∏",
                        sum: "∑",
                        minus: "−",
                        lowast: "∗",
                        radic: "√",
                        prop: "∝",
                        infin: "∞",
                        ang: "∠",
                        and: "∧",
                        or: "∨",
                        cap: "∩",
                        cup: "∪",
                        int: "∫",
                        there4: "∴",
                        sim: "∼",
                        cong: "≅",
                        asymp: "≈",
                        ne: "≠",
                        equiv: "≡",
                        le: "≤",
                        ge: "≥",
                        sub: "⊂",
                        sup: "⊃",
                        nsub: "⊄",
                        sube: "⊆",
                        supe: "⊇",
                        oplus: "⊕",
                        otimes: "⊗",
                        perp: "⊥",
                        sdot: "⋅",
                        Alpha: "Α",
                        Beta: "Β",
                        Gamma: "Γ",
                        Delta: "Δ",
                        Epsilon: "Ε",
                        Zeta: "Ζ",
                        Eta: "Η",
                        Theta: "Θ",
                        Iota: "Ι",
                        Kappa: "Κ",
                        Lambda: "Λ",
                        Mu: "Μ",
                        Nu: "Ν",
                        Xi: "Ξ",
                        Omicron: "Ο",
                        Pi: "Π",
                        Rho: "Ρ",
                        Sigma: "Σ",
                        Tau: "Τ",
                        Upsilon: "Υ",
                        Phi: "Φ",
                        Chi: "Χ",
                        Psi: "Ψ",
                        Omega: "Ω",
                        alpha: "α",
                        beta: "β",
                        gamma: "γ",
                        delta: "δ",
                        epsilon: "ε",
                        zeta: "ζ",
                        eta: "η",
                        theta: "θ",
                        iota: "ι",
                        kappa: "κ",
                        lambda: "λ",
                        mu: "μ",
                        nu: "ν",
                        xi: "ξ",
                        omicron: "ο",
                        pi: "π",
                        rho: "ρ",
                        sigmaf: "ς",
                        sigma: "σ",
                        tau: "τ",
                        upsilon: "υ",
                        phi: "φ",
                        chi: "χ",
                        psi: "ψ",
                        omega: "ω",
                        thetasym: "ϑ",
                        upsih: "ϒ",
                        piv: "ϖ",
                        OElig: "Œ",
                        oelig: "œ",
                        Scaron: "Š",
                        scaron: "š",
                        Yuml: "Ÿ",
                        fnof: "ƒ",
                        circ: "ˆ",
                        tilde: "˜",
                        ensp: " ",
                        emsp: " ",
                        thinsp: " ",
                        zwnj: "‌",
                        zwj: "‍",
                        lrm: "‎",
                        rlm: "‏",
                        ndash: "–",
                        mdash: "—",
                        lsquo: "‘",
                        rsquo: "’",
                        sbquo: "‚",
                        ldquo: "“",
                        rdquo: "”",
                        bdquo: "„",
                        dagger: "†",
                        Dagger: "‡",
                        bull: "•",
                        hellip: "…",
                        permil: "‰",
                        prime: "′",
                        Prime: "″",
                        lsaquo: "‹",
                        rsaquo: "›",
                        oline: "‾",
                        euro: "€",
                        trade: "™",
                        larr: "←",
                        uarr: "↑",
                        rarr: "→",
                        darr: "↓",
                        harr: "↔",
                        crarr: "↵",
                        lceil: "⌈",
                        rceil: "⌉",
                        lfloor: "⌊",
                        rfloor: "⌋",
                        loz: "◊",
                        spades: "♠",
                        clubs: "♣",
                        hearts: "♥",
                        diams: "♦"
                    }), t.entityMap = t.HTML_ENTITIES
                }, function(e, t, n) {
                    var r = n(2).NAMESPACE,
                        o = /[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,
                        i = new RegExp("[\\-\\.0-9" + o.source.slice(1, -1) + "\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),
                        a = new RegExp("^" + o.source + i.source + "*(?::" + o.source + i.source + "*)?$");

                    function s(e, t) {
                        this.message = e, this.locator = t, Error.captureStackTrace && Error.captureStackTrace(this, s)
                    }

                    function c() {}

                    function u(e, t) {
                        return t.lineNumber = e.lineNumber, t.columnNumber = e.columnNumber, t
                    }

                    function l(e, t, n, o, i, a) {
                        function s(e, t, r) {
                            n.attributeNames.hasOwnProperty(e) && a.fatalError("Attribute " + e + " redefined"), n.addValue(e, t.replace(/[\t\n\r]/g, " ").replace(/&#?\w+;/g, i), r)
                        }
                        for (var c, u = ++t, l = 0;;) {
                            var d = e.charAt(u);
                            switch (d) {
                                case "=":
                                    if (1 === l) c = e.slice(t, u), l = 3;
                                    else {
                                        if (2 !== l) throw new Error("attribute equal must after attrName");
                                        l = 3
                                    }
                                    break;
                                case "'":
                                case '"':
                                    if (3 === l || 1 === l) {
                                        if (1 === l && (a.warning('attribute value must after "="'), c = e.slice(t, u)), t = u + 1, !((u = e.indexOf(d, t)) > 0)) throw new Error("attribute value no end '" + d + "' match");
                                        s(c, f = e.slice(t, u), t - 1), l = 5
                                    } else {
                                        if (4 != l) throw new Error('attribute value must after "="');
                                        s(c, f = e.slice(t, u), t), a.warning('attribute "' + c + '" missed start quot(' + d + ")!!"), t = u + 1, l = 5
                                    }
                                    break;
                                case "/":
                                    switch (l) {
                                        case 0:
                                            n.setTagName(e.slice(t, u));
                                        case 5:
                                        case 6:
                                        case 7:
                                            l = 7, n.closed = !0;
                                        case 4:
                                        case 1:
                                        case 2:
                                            break;
                                        default:
                                            throw new Error("attribute invalid close char('/')")
                                    }
                                    break;
                                case "":
                                    return a.error("unexpected end of input"), 0 == l && n.setTagName(e.slice(t, u)), u;
                                case ">":
                                    switch (l) {
                                        case 0:
                                            n.setTagName(e.slice(t, u));
                                        case 5:
                                        case 6:
                                        case 7:
                                            break;
                                        case 4:
                                        case 1:
                                            "/" === (f = e.slice(t, u)).slice(-1) && (n.closed = !0, f = f.slice(0, -1));
                                        case 2:
                                            2 === l && (f = c), 4 == l ? (a.warning('attribute "' + f + '" missed quot(")!'), s(c, f, t)) : (r.isHTML(o[""]) && f.match(/^(?:disabled|checked|selected)$/i) || a.warning('attribute "' + f + '" missed value!! "' + f + '" instead!!'), s(f, f, t));
                                            break;
                                        case 3:
                                            throw new Error("attribute value missed!!")
                                    }
                                    return u;
                                case "":
                                    d = " ";
                                default:
                                    if (d <= " ") switch (l) {
                                        case 0:
                                            n.setTagName(e.slice(t, u)), l = 6;
                                            break;
                                        case 1:
                                            c = e.slice(t, u), l = 2;
                                            break;
                                        case 4:
                                            var f = e.slice(t, u);
                                            a.warning('attribute "' + f + '" missed quot(")!!'), s(c, f, t);
                                        case 5:
                                            l = 6
                                    } else switch (l) {
                                        case 2:
                                            n.tagName, r.isHTML(o[""]) && c.match(/^(?:disabled|checked|selected)$/i) || a.warning('attribute "' + c + '" missed value!! "' + c + '" instead2!!'), s(c, c, t), t = u, l = 1;
                                            break;
                                        case 5:
                                            a.warning('attribute space is required"' + c + '"!!');
                                        case 6:
                                            l = 1, t = u;
                                            break;
                                        case 3:
                                            l = 4, t = u;
                                            break;
                                        case 7:
                                            throw new Error("elements closed character '/' and '>' must be connected to")
                                    }
                            }
                            u++
                        }
                    }

                    function d(e, t, n) {
                        for (var o = e.tagName, i = null, a = e.length; a--;) {
                            var s = e[a],
                                c = s.qName,
                                u = s.value;
                            if ((p = c.indexOf(":")) > 0) var l = s.prefix = c.slice(0, p),
                                d = c.slice(p + 1),
                                f = "xmlns" === l && d;
                            else d = c, l = null, f = "xmlns" === c && "";
                            s.localName = d, !1 !== f && (null == i && (i = {}, h(n, n = {})), n[f] = i[f] = u, s.uri = r.XMLNS, t.startPrefixMapping(f, u))
                        }
                        for (a = e.length; a--;)(l = (s = e[a]).prefix) && ("xml" === l && (s.uri = r.XML), "xmlns" !== l && (s.uri = n[l || ""]));
                        var p;
                        (p = o.indexOf(":")) > 0 ? (l = e.prefix = o.slice(0, p), d = e.localName = o.slice(p + 1)) : (l = null, d = e.localName = o);
                        var _ = e.uri = n[l || ""];
                        if (t.startElement(_, d, o, e), !e.closed) return e.currentNSMap = n, e.localNSMap = i, !0;
                        if (t.endElement(_, d, o), i)
                            for (l in i) t.endPrefixMapping(l)
                    }

                    function f(e, t, n, r, o) {
                        if (/^(?:script|textarea)$/i.test(n)) {
                            var i = e.indexOf("</" + n + ">", t),
                                a = e.substring(t + 1, i);
                            if (/[&<]/.test(a)) return /^script$/i.test(n) ? (o.characters(a, 0, a.length), i) : (a = a.replace(/&#?\w+;/g, r), o.characters(a, 0, a.length), i)
                        }
                        return t + 1
                    }

                    function p(e, t, n, r) {
                        var o = r[n];
                        return null == o && ((o = e.lastIndexOf("</" + n + ">")) < t && (o = e.lastIndexOf("</" + n)), r[n] = o), o < t
                    }

                    function h(e, t) {
                        for (var n in e) t[n] = e[n]
                    }

                    function _(e, t, n, r) {
                        if ("-" === e.charAt(t + 2)) return "-" === e.charAt(t + 3) ? (o = e.indexOf("--\x3e", t + 4)) > t ? (n.comment(e, t + 4, o - t - 4), o + 3) : (r.error("Unclosed comment"), -1) : -1;
                        if ("CDATA[" == e.substr(t + 3, 6)) {
                            var o = e.indexOf("]]>", t + 9);
                            return n.startCDATA(), n.characters(e, t + 9, o - t - 9), n.endCDATA(), o + 3
                        }
                        var i = function(e, t) {
                                var n, r = [],
                                    o = /'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;
                                for (o.lastIndex = t, o.exec(e); n = o.exec(e);)
                                    if (r.push(n), n[1]) return r
                            }(e, t),
                            a = i.length;
                        if (a > 1 && /!doctype/i.test(i[0][0])) {
                            var s = i[1][0],
                                c = !1,
                                u = !1;
                            a > 3 && (/^public$/i.test(i[2][0]) ? (c = i[3][0], u = a > 4 && i[4][0]) : /^system$/i.test(i[2][0]) && (u = i[3][0]));
                            var l = i[a - 1];
                            return n.startDTD(s, c, u), n.endDTD(), l.index + l[0].length
                        }
                        return -1
                    }

                    function m(e, t, n) {
                        var r = e.indexOf("?>", t);
                        if (r) {
                            var o = e.substring(t, r).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);
                            return o ? (o[0].length, n.processingInstruction(o[1], o[2]), r + 2) : -1
                        }
                        return -1
                    }

                    function g() {
                        this.attributeNames = {}
                    }
                    s.prototype = new Error, s.prototype.name = s.name, c.prototype = {
                        parse: function(e, t, n) {
                            var o = this.domBuilder;
                            o.startDocument(), h(t, t = {}),
                                function(e, t, n, o, i) {
                                    function a(e) {
                                        var t = e.slice(1, -1);
                                        return Object.hasOwnProperty.call(n, t) ? n[t] : "#" === t.charAt(0) ? function(e) {
                                            if (e > 65535) {
                                                var t = 55296 + ((e -= 65536) >> 10),
                                                    n = 56320 + (1023 & e);
                                                return String.fromCharCode(t, n)
                                            }
                                            return String.fromCharCode(e)
                                        }(parseInt(t.substr(1).replace("x", "0x"))) : (i.error("entity not found:" + e), e)
                                    }

                                    function c(t) {
                                        if (t > k) {
                                            var n = e.substring(k, t).replace(/&#?\w+;/g, a);
                                            C && h(k), o.characters(n, 0, t - k), k = t
                                        }
                                    }

                                    function h(t, n) {
                                        for (; t >= v && (n = b.exec(e));) y = n.index, v = y + n[0].length, C.lineNumber++;
                                        C.columnNumber = t - y + 1
                                    }
                                    for (var y = 0, v = 0, b = /.*(?:\r\n?|\n)|.*$/g, C = o.locator, E = [{
                                            currentNSMap: t
                                        }], w = {}, k = 0;;) {
                                        try {
                                            var T = e.indexOf("<", k);
                                            if (T < 0) {
                                                if (!e.substr(k).match(/^\s*$/)) {
                                                    var O = o.doc,
                                                        x = O.createTextNode(e.substr(k));
                                                    O.appendChild(x), o.currentElement = x
                                                }
                                                return
                                            }
                                            switch (T > k && c(T), e.charAt(T + 1)) {
                                                case "/":
                                                    var D = e.indexOf(">", T + 3),
                                                        S = e.substring(T + 2, D).replace(/[ \t\n\r]+$/g, ""),
                                                        R = E.pop();
                                                    D < 0 ? (S = e.substring(T + 2).replace(/[\s<].*/, ""), i.error("end tag name: " + S + " is not complete:" + R.tagName), D = T + 1 + S.length) : S.match(/\s</) && (S = S.replace(/[\s<].*/, ""), i.error("end tag name: " + S + " maybe not complete"), D = T + 1 + S.length);
                                                    var A = R.localNSMap,
                                                        P = R.tagName == S;
                                                    if (P || R.tagName && R.tagName.toLowerCase() == S.toLowerCase()) {
                                                        if (o.endElement(R.uri, R.localName, S), A)
                                                            for (var I in A) o.endPrefixMapping(I);
                                                        P || i.fatalError("end tag name: " + S + " is not match the current start tagName:" + R.tagName)
                                                    } else E.push(R);
                                                    D++;
                                                    break;
                                                case "?":
                                                    C && h(T), D = m(e, T, o);
                                                    break;
                                                case "!":
                                                    C && h(T), D = _(e, T, o, i);
                                                    break;
                                                default:
                                                    C && h(T);
                                                    var B = new g,
                                                        M = E[E.length - 1].currentNSMap,
                                                        U = (D = l(e, T, B, M, a, i), B.length);
                                                    if (!B.closed && p(e, D, B.tagName, w) && (B.closed = !0, n.nbsp || i.warning("unclosed xml attribute")), C && U) {
                                                        for (var j = u(C, {}), L = 0; L < U; L++) {
                                                            var N = B[L];
                                                            h(N.offset), N.locator = u(C, {})
                                                        }
                                                        o.locator = j, d(B, o, M) && E.push(B), o.locator = C
                                                    } else d(B, o, M) && E.push(B);
                                                    r.isHTML(B.uri) && !B.closed ? D = f(e, D, B.tagName, a, o) : D++
                                            }
                                        } catch (e) {
                                            if (e instanceof s) throw e;
                                            i.error("element parse error: " + e), D = -1
                                        }
                                        D > k ? k = D : c(Math.max(T, k) + 1)
                                    }
                                }(e, t, n, o, this.errorHandler), o.endDocument()
                        }
                    }, g.prototype = {
                        setTagName: function(e) {
                            if (!a.test(e)) throw new Error("invalid tagName:" + e);
                            this.tagName = e
                        },
                        addValue: function(e, t, n) {
                            if (!a.test(e)) throw new Error("invalid attribute:" + e);
                            this.attributeNames[e] = this.length, this[this.length++] = {
                                qName: e,
                                value: t,
                                offset: n
                            }
                        },
                        length: 0,
                        getLocalName: function(e) {
                            return this[e].localName
                        },
                        getLocator: function(e) {
                            return this[e].locator
                        },
                        getQName: function(e) {
                            return this[e].qName
                        },
                        getURI: function(e) {
                            return this[e].uri
                        },
                        getValue: function(e) {
                            return this[e].value
                        }
                    }, t.XMLReader = c, t.ParseError = s
                }, function(e, t, n) {
                    var r = n(0),
                        o = "a-zA-Z_À-ÖØ-öø-ÿͰ-ͽͿ-῿‌-‍⁰-↏Ⰰ-⿿、-퟿豈-﷏ﷰ-�",
                        i = new RegExp("^([^" + o + "])|^((x|X)(m|M)(l|L))|([^" + o + "-.0-9·̀-ͯ‿⁀])", "g"),
                        a = /[^\x09\x0A\x0D\x20-\xFF\x85\xA0-\uD7FF\uE000-\uFDCF\uFDE0-\uFFFD]/gm,
                        s = function(e) {
                            var t = [];
                            if (e instanceof Object)
                                for (var n in e) e.hasOwnProperty(n) && t.push(n);
                            return t
                        },
                        c = function(e) {
                            var t = ['<?xml version="1.0" encoding="UTF-8"'];
                            return e && t.push(' standalone="yes"'), t.push("?>"), t.join("")
                        };
                    e.exports = function(e, t) {
                        if (t || (t = {
                                xmlHeader: {
                                    standalone: !0
                                },
                                prettyPrint: !0,
                                indent: "  ",
                                escape: !0
                            }), "string" == typeof e) try {
                            e = JSON.parse(e.toString())
                        } catch (e) {
                            return !1
                        }
                        var n = "",
                            o = "";
                        return t && ("object" == r(t) ? (t.xmlHeader && (n = c(!!t.xmlHeader.standalone)), void 0 !== t.docType && (o = "<!DOCTYPE " + t.docType + ">")) : n = c()), [n, (t = t || {}).prettyPrint && o ? "\n" : "", o, function(e, t) {
                            var n = function(e, n, r, o, a) {
                                var s = void 0 !== t.indent ? t.indent : "\t",
                                    c = t.prettyPrint ? "\n" + new Array(o).join(s) : "";
                                t.removeIllegalNameCharacters && (e = e.replace(i, "_"));
                                var u = [c, "<", e, r || ""];
                                return n && n.length > 0 ? (u.push(">"), u.push(n), a && u.push(c), u.push("</"), u.push(e), u.push(">")) : u.push("/>"), u.join("")
                            };
                            return function e(o, i, c) {
                                var u = r(o);
                                switch ((Array.isArray ? Array.isArray(o) : o instanceof Array) ? u = "array" : o instanceof Date && (u = "date"), u) {
                                    case "array":
                                        var l = [];
                                        return o.map(function(t) {
                                            l.push(e(t, 0, c + 1))
                                        }), t.prettyPrint && l.push("\n"), l.join("");
                                    case "date":
                                        return o.toJSON ? o.toJSON() : o + "";
                                    case "object":
                                        var d = [];
                                        for (var f in o)
                                            if (o.hasOwnProperty(f))
                                                if (o[f] instanceof Array)
                                                    for (var p = 0; p < o[f].length; p++) o[f].hasOwnProperty(p) && d.push(n(f, e(o[f][p], 0, c + 1), null, c + 1, s(o[f][p]).length));
                                                else d.push(n(f, e(o[f], 0, c + 1), null, c + 1));
                                        return t.prettyPrint && d.length > 0 && d.push("\n"), d.join("");
                                    case "function":
                                        return o();
                                    default:
                                        return t.escape ? ("" + o).replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/'/g, "&apos;").replace(/"/g, "&quot;").replace(a, "") : "" + o
                                }
                            }(e, 0, 0)
                        }(e, t)].join("").replace(/\n{2,}/g, "\n").replace(/\s+$/g, "")
                    }
                }, function(e, t) {
                    e.exports = function(e, t) {
                        if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
                    }, e.exports.__esModule = !0, e.exports.default = e.exports
                }, function(e, t) {
                    function n(e, t) {
                        for (var n = 0; n < t.length; n++) {
                            var r = t[n];
                            r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), __WEBPACK_IMPORTED_MODULE_11_babel_runtime_core_js_object_define_property___default()(e, r.key, r)
                        }
                    }
                    e.exports = function(e, t, r) {
                        return t && n(e.prototype, t), r && n(e, r), Object.defineProperty(e, "prototype", {
                            writable: !1
                        }), e
                    }, e.exports.__esModule = !0, e.exports.default = e.exports
                }, function(e, t, n) {
                    (function(r) {
                        var o, i, a, s = n(0);
                        a = function() {
                            var e = function(t, n) {
                                    return (e = __WEBPACK_IMPORTED_MODULE_2_babel_runtime_core_js_object_set_prototype_of___default.a || {
                                            __proto__: []
                                        }
                                        instanceof Array && function(e, t) {
                                            e.__proto__ = t
                                        } || function(e, t) {
                                            for (var n in t) Object.prototype.hasOwnProperty.call(t, n) && (e[n] = t[n])
                                        })(t, n)
                                },
                                t = function() {
                                    return (t = __WEBPACK_IMPORTED_MODULE_4_babel_runtime_core_js_object_assign___default.a || function(e) {
                                        for (var t, n = 1, r = arguments.length; n < r; n++)
                                            for (var o in t = arguments[n]) Object.prototype.hasOwnProperty.call(t, o) && (e[o] = t[o]);
                                        return e
                                    }).apply(this, arguments)
                                };

                            function n(e, t, n, r) {
                                return new(n || (n = __WEBPACK_IMPORTED_MODULE_6_babel_runtime_core_js_promise___default.a))(function(o, i) {
                                    function a(e) {
                                        try {
                                            c(r.next(e))
                                        } catch (e) {
                                            i(e)
                                        }
                                    }

                                    function s(e) {
                                        try {
                                            c(r.throw(e))
                                        } catch (e) {
                                            i(e)
                                        }
                                    }

                                    function c(e) {
                                        var t;
                                        e.done ? o(e.value) : (t = e.value, t instanceof n ? t : new n(function(e) {
                                            e(t)
                                        })).then(a, s)
                                    }
                                    c((r = r.apply(e, t || [])).next())
                                })
                            }

                            function o(e, t) {
                                var n, r, o, i, a = {
                                    label: 0,
                                    sent: function() {
                                        if (1 & o[0]) throw o[1];
                                        return o[1]
                                    },
                                    trys: [],
                                    ops: []
                                };
                                return i = {
                                    next: s(0),
                                    throw: s(1),
                                    return: s(2)
                                }, "function" == typeof __WEBPACK_IMPORTED_MODULE_10_babel_runtime_core_js_symbol___default.a && (i[__WEBPACK_IMPORTED_MODULE_7_babel_runtime_core_js_symbol_iterator___default.a] = function() {
                                    return this
                                }), i;

                                function s(i) {
                                    return function(s) {
                                        return function(i) {
                                            if (n) throw new TypeError("Generator is already executing.");
                                            for (; a;) try {
                                                if (n = 1, r && (o = 2 & i[0] ? r.return : i[0] ? r.throw || ((o = r.return) && o.call(r), 0) : r.next) && !(o = o.call(r, i[1])).done) return o;
                                                switch (r = 0, o && (i = [2 & i[0], o.value]), i[0]) {
                                                    case 0:
                                                    case 1:
                                                        o = i;
                                                        break;
                                                    case 4:
                                                        return a.label++, {
                                                            value: i[1],
                                                            done: !1
                                                        };
                                                    case 5:
                                                        a.label++, r = i[1], i = [0];
                                                        continue;
                                                    case 7:
                                                        i = a.ops.pop(), a.trys.pop();
                                                        continue;
                                                    default:
                                                        if (!((o = (o = a.trys).length > 0 && o[o.length - 1]) || 6 !== i[0] && 2 !== i[0])) {
                                                            a = 0;
                                                            continue
                                                        }
                                                        if (3 === i[0] && (!o || i[1] > o[0] && i[1] < o[3])) {
                                                            a.label = i[1];
                                                            break
                                                        }
                                                        if (6 === i[0] && a.label < o[1]) {
                                                            a.label = o[1], o = i;
                                                            break
                                                        }
                                                        if (o && a.label < o[2]) {
                                                            a.label = o[2], a.ops.push(i);
                                                            break
                                                        }
                                                        o[2] && a.ops.pop(), a.trys.pop();
                                                        continue
                                                }
                                                i = t.call(e, a)
                                            } catch (e) {
                                                i = [6, e], r = 0
                                            } finally {
                                                n = o = 0
                                            }
                                            if (5 & i[0]) throw i[1];
                                            return {
                                                value: i[0] ? i[1] : void 0,
                                                done: !0
                                            }
                                        }([i, s])
                                    }
                                }
                            }
                            var i = "__BEACON_",
                                a = "__BEACON_deviceId",
                                c = "last_report_time",
                                u = "sending_event_ids",
                                l = "beacon_config",
                                d = "beacon_config_request_time",
                                f = function() {
                                    function e() {
                                        var e = this;
                                        this.emit = function(t, n) {
                                            if (e) {
                                                var r, o = e.__EventsList[t];
                                                if (null == o ? void 0 : o.length) {
                                                    o = o.slice();
                                                    for (var i = 0; i < o.length; i++) {
                                                        r = o[i];
                                                        try {
                                                            var a = r.callback.apply(e, [n]);
                                                            if (1 === r.type && e.remove(t, r.callback), !1 === a) break
                                                        } catch (e) {
                                                            throw e
                                                        }
                                                    }
                                                }
                                                return e
                                            }
                                        }, this.__EventsList = {}
                                    }
                                    return e.prototype.indexOf = function(e, t) {
                                        for (var n = 0; n < e.length; n++)
                                            if (e[n].callback === t) return n;
                                        return -1
                                    }, e.prototype.on = function(e, t, n) {
                                        if (void 0 === n && (n = 0), this) {
                                            var r = this.__EventsList[e];
                                            if (r || (r = this.__EventsList[e] = []), -1 === this.indexOf(r, t)) {
                                                var o = {
                                                    name: e,
                                                    type: n || 0,
                                                    callback: t
                                                };
                                                return r.push(o), this
                                            }
                                            return this
                                        }
                                    }, e.prototype.one = function(e, t) {
                                        this.on(e, t, 1)
                                    }, e.prototype.remove = function(e, t) {
                                        if (this) {
                                            var n = this.__EventsList[e];
                                            if (!n) return null;
                                            if (!t) {
                                                try {
                                                    delete this.__EventsList[e]
                                                } catch (e) {}
                                                return null
                                            }
                                            if (n.length) {
                                                var r = this.indexOf(n, t);
                                                n.splice(r, 1)
                                            }
                                            return this
                                        }
                                    }, e
                                }();

                            function p(e, t) {
                                for (var n = {}, r = 0, o = __WEBPACK_IMPORTED_MODULE_5_babel_runtime_core_js_object_keys___default()(e); r < o.length; r++) {
                                    var i = o[r],
                                        a = e[i];
                                    if ("string" == typeof a) n[h(i)] = h(a);
                                    else {
                                        if (t) throw new Error("value mast be string  !!!!");
                                        n[h(String(i))] = h(String(a))
                                    }
                                }
                                return n
                            }

                            function h(e) {
                                if ("string" != typeof e) return e;
                                try {
                                    return e.replace(new RegExp("\\|", "g"), "%7C").replace(new RegExp("\\&", "g"), "%26").replace(new RegExp("\\=", "g"), "%3D").replace(new RegExp("\\+", "g"), "%2B")
                                } catch (e) {
                                    return ""
                                }
                            }

                            function _(e) {
                                return String(e.A99) + String(e.A100)
                            }
                            var m = function() {},
                                g = function() {
                                    function e(e) {
                                        var n = this;
                                        this.lifeCycle = new f, this.uploadJobQueue = [], this.additionalParams = {}, this.delayTime = 0, this._normalLogPipeline = function(e) {
                                                if (!e || !e.reduce || !e.length) throw new TypeError("createPipeline 方法需要传入至少有一个 pipe 的数组");
                                                return 1 === e.length ? function(t, n) {
                                                    e[0](t, n || m)
                                                } : e.reduce(function(e, t) {
                                                    return function(n, r) {
                                                        return void 0 === r && (r = m), e(n, function(e) {
                                                            return null == t ? void 0 : t(e, r)
                                                        })
                                                    }
                                                })
                                            }([function(e) {
                                                n.send({
                                                    url: n.strategy.getUploadUrl(),
                                                    data: e,
                                                    method: "post",
                                                    contentType: "application/json;charset=UTF-8"
                                                }, function() {
                                                    var t = n.config.onReportSuccess;
                                                    "function" == typeof t && t(__WEBPACK_IMPORTED_MODULE_3_babel_runtime_core_js_json_stringify___default()(e.events))
                                                }, function() {
                                                    var t = n.config.onReportFail;
                                                    "function" == typeof t && t(__WEBPACK_IMPORTED_MODULE_3_babel_runtime_core_js_json_stringify___default()(e.events))
                                                })
                                            }]),
                                            function(e, t) {
                                                if (!e) throw t instanceof Error ? t : new Error(t)
                                            }(Boolean(e.appkey), "appkey must be initial"), this.config = t({}, e)
                                    }
                                    return e.prototype.onUserAction = function(e, t) {
                                        this.preReport(e, t, !1)
                                    }, e.prototype.onDirectUserAction = function(e, t) {
                                        this.preReport(e, t, !0)
                                    }, e.prototype.preReport = function(e, t, n) {
                                        e ? this.strategy.isEventUpOnOff() && (this.strategy.isBlackEvent(e) || this.strategy.isSampleEvent(e) || this.onReport(e, t, n)) : this.errorReport.reportError("602", " no eventCode")
                                    }, e.prototype.addAdditionalParams = function(e) {
                                        for (var t = 0, n = __WEBPACK_IMPORTED_MODULE_5_babel_runtime_core_js_object_keys___default()(e); t < n.length; t++) {
                                            var r = n[t];
                                            this.additionalParams[r] = e[r]
                                        }
                                    }, e.prototype.setChannelId = function(e) {
                                        this.commonInfo.channelID = String(e)
                                    }, e.prototype.setOpenId = function(e) {
                                        this.commonInfo.openid = String(e)
                                    }, e.prototype.setUnionid = function(e) {
                                        this.commonInfo.unid = String(e)
                                    }, e.prototype.getDeviceId = function() {
                                        return this.commonInfo.deviceId
                                    }, e.prototype.getCommonInfo = function() {
                                        return this.commonInfo
                                    }, e.prototype.removeSendingId = function(e) {
                                        try {
                                            var t = JSON.parse(this.storage.getItem(u)),
                                                n = t.indexOf(e); - 1 != n && (t.splice(n, 1), this.storage.setItem(u, __WEBPACK_IMPORTED_MODULE_3_babel_runtime_core_js_json_stringify___default()(t)))
                                        } catch (e) {}
                                    }, e
                                }(),
                                y = function() {
                                    function e(e, t, n, r) {
                                        this.requestParams = {}, this.network = r, this.requestParams.attaid = "00400014144", this.requestParams.token = "6478159937", this.requestParams.product_id = e.appkey, this.requestParams.platform = n, this.requestParams.uin = t.deviceId, this.requestParams.model = "", this.requestParams.os = n, this.requestParams.app_version = e.appVersion, this.requestParams.sdk_version = t.sdkVersion, this.requestParams.error_stack = "", this.uploadUrl = e.isOversea ? "https://htrace.wetvinfo.com/kv" : "https://h.trace.qq.com/kv"
                                    }
                                    return e.prototype.reportError = function(e, t) {
                                        this.requestParams._dc = Math.random(), this.requestParams.error_msg = t, this.requestParams.error_code = e, this.network.get(this.uploadUrl, {
                                            params: this.requestParams
                                        }).catch(function(e) {})
                                    }, e
                                }(),
                                v = function() {
                                    function e(e, t, n, r) {
                                        this.strategy = {
                                            isEventUpOnOff: !0,
                                            httpsUploadUrl: "https://otheve.beacon.qq.com/analytics/v2_upload",
                                            requestInterval: 30,
                                            blacklist: [],
                                            samplelist: []
                                        }, this.realSample = {}, this.appkey = "", this.appkey = e.appkey, this.storage = n;
                                        try {
                                            var o = JSON.parse(this.storage.getItem(l));
                                            o && this.processData(o)
                                        } catch (e) {}
                                        e.isOversea && (this.strategy.httpsUploadUrl = "https://svibeacon.onezapp.com/analytics/v2_upload"), !e.isOversea && this.needRequestConfig() && this.requestConfig(e.appVersion, t, r)
                                    }
                                    return e.prototype.requestConfig = function(e, t, n) {
                                        var r = this;
                                        this.storage.setItem(d, Date.now().toString()), n.post("https://oth.str.beacon.qq.com/trpc.beacon.configserver.BeaconConfigService/QueryConfig", {
                                            platformId: "undefined" == typeof wx ? "3" : "4",
                                            mainAppKey: this.appkey,
                                            appVersion: e,
                                            sdkVersion: t.sdkVersion,
                                            osVersion: t.userAgent,
                                            model: "",
                                            packageName: "",
                                            params: {
                                                A3: t.deviceId
                                            }
                                        }).then(function(e) {
                                            if (0 == e.data.ret) try {
                                                var t = JSON.parse(e.data.beaconConfig);
                                                t && (r.processData(t), r.storage.setItem(l, e.data.beaconConfig))
                                            } catch (e) {} else r.processData(null), r.storage.setItem(l, "")
                                        }).catch(function(e) {})
                                    }, e.prototype.processData = function(e) {
                                        var t, n, r, o, i;
                                        this.strategy.isEventUpOnOff = null !== (t = null == e ? void 0 : e.isEventUpOnOff) && void 0 !== t ? t : this.strategy.isEventUpOnOff, this.strategy.httpsUploadUrl = null !== (n = null == e ? void 0 : e.httpsUploadUrl) && void 0 !== n ? n : this.strategy.httpsUploadUrl, this.strategy.requestInterval = null !== (r = null == e ? void 0 : e.requestInterval) && void 0 !== r ? r : this.strategy.requestInterval, this.strategy.blacklist = null !== (o = null == e ? void 0 : e.blacklist) && void 0 !== o ? o : this.strategy.blacklist, this.strategy.samplelist = null !== (i = null == e ? void 0 : e.samplelist) && void 0 !== i ? i : this.strategy.samplelist;
                                        for (var a = 0, s = this.strategy.samplelist; a < s.length; a++) {
                                            var c = s[a].split(",");
                                            2 == c.length && (this.realSample[c[0]] = c[1])
                                        }
                                    }, e.prototype.needRequestConfig = function() {
                                        var e = Number(this.storage.getItem(d));
                                        return Date.now() - e > 60 * this.strategy.requestInterval * 1e3
                                    }, e.prototype.getUploadUrl = function() {
                                        return this.strategy.httpsUploadUrl + "?appkey=" + this.appkey
                                    }, e.prototype.isBlackEvent = function(e) {
                                        return -1 != this.strategy.blacklist.indexOf(e)
                                    }, e.prototype.isEventUpOnOff = function() {
                                        return this.strategy.isEventUpOnOff
                                    }, e.prototype.isSampleEvent = function(e) {
                                        return !!Object.prototype.hasOwnProperty.call(this.realSample, e) && this.realSample[e] < Math.floor(Math.random() * Math.floor(1e4))
                                    }, e
                                }(),
                                b = "session_storage_key",
                                C = function() {
                                    function e(e, t, n) {
                                        this.beacon = n, this.storage = e, this.duration = t, this.appkey = n.config.appkey
                                    }
                                    return e.prototype.getSession = function() {
                                        var e = this.storage.getItem(b);
                                        if (!e) return this.createSession();
                                        var t = "",
                                            n = 0;
                                        try {
                                            var r = JSON.parse(e) || {
                                                sessionId: void 0,
                                                sessionStart: void 0
                                            };
                                            if (!r.sessionId || !r.sessionStart) return this.createSession();
                                            var o = Number(this.storage.getItem(c));
                                            if (Date.now() - o > this.duration) return this.createSession();
                                            t = r.sessionId, n = r.sessionStart
                                        } catch (e) {}
                                        return {
                                            sessionId: t,
                                            sessionStart: n
                                        }
                                    }, e.prototype.createSession = function() {
                                        var e = Date.now(),
                                            t = {
                                                sessionId: this.appkey + "_" + e.toString(),
                                                sessionStart: e
                                            };
                                        this.storage.setItem(b, __WEBPACK_IMPORTED_MODULE_3_babel_runtime_core_js_json_stringify___default()(t)), this.storage.setItem(c, e.toString());
                                        var n = "is_new_user",
                                            r = this.storage.getItem(n);
                                        return this.beacon.onDirectUserAction("rqd_applaunched", {
                                            A21: r ? "N" : "Y"
                                        }), this.storage.setItem(n, __WEBPACK_IMPORTED_MODULE_3_babel_runtime_core_js_json_stringify___default()(!1)), t
                                    }, e
                                }();

                            function E() {
                                var e = navigator.userAgent,
                                    t = e.indexOf("compatible") > -1 && e.indexOf("MSIE") > -1,
                                    n = e.indexOf("Edge") > -1 && !t,
                                    r = e.indexOf("Trident") > -1 && e.indexOf("rv:11.0") > -1;
                                if (t) {
                                    new RegExp("MSIE (\\d+\\.\\d+);").test(e);
                                    var o = parseFloat(RegExp.$1);
                                    return 7 == o ? 7 : 8 == o ? 8 : 9 == o ? 9 : 10 == o ? 10 : 6
                                }
                                return n ? -2 : r ? 11 : -1
                            }
                            var w, k, T = function() {
                                    return (T = __WEBPACK_IMPORTED_MODULE_4_babel_runtime_core_js_object_assign___default.a || function(e) {
                                        for (var t, n = 1, r = arguments.length; n < r; n++)
                                            for (var o in t = arguments[n]) Object.prototype.hasOwnProperty.call(t, o) && (e[o] = t[o]);
                                        return e
                                    }).apply(this, arguments)
                                },
                                O = function() {
                                    function e(e, t) {
                                        void 0 === t && (t = {}), this.reportOptions = {}, this.config = e, this.reportOptions = t
                                    }
                                    return e.canUseDB = function() {
                                        return !!(null === window || void 0 === window ? void 0 : window.indexedDB)
                                    }, e.prototype.openDB = function() {
                                        var t = this;
                                        return new __WEBPACK_IMPORTED_MODULE_6_babel_runtime_core_js_promise___default.a(function(n, r) {
                                            if (!e.canUseDB()) return r({
                                                message: "当前不支持 indexeddb"
                                            });
                                            var o = t.config,
                                                i = o.name,
                                                a = o.version,
                                                s = o.stores,
                                                c = indexedDB.open(i, a);
                                            c.onsuccess = function() {
                                                t.db = c.result, n(), T({
                                                    result: 1,
                                                    func: "open",
                                                    params: __WEBPACK_IMPORTED_MODULE_3_babel_runtime_core_js_json_stringify___default()(t.config)
                                                }, t.reportOptions)
                                            }, c.onerror = function(e) {
                                                var n, o;
                                                r(e), T({
                                                    result: 0,
                                                    func: "open",
                                                    params: __WEBPACK_IMPORTED_MODULE_3_babel_runtime_core_js_json_stringify___default()(t.config),
                                                    error_msg: null === (o = null === (n = e.target) || void 0 === n ? void 0 : n.error) || void 0 === o ? void 0 : o.message
                                                }, t.reportOptions)
                                            }, c.onupgradeneeded = function() {
                                                t.db = c.result;
                                                try {
                                                    null == s || s.forEach(function(e) {
                                                        t.createStore(e)
                                                    })
                                                } catch (e) {
                                                    T({
                                                        result: 0,
                                                        func: "open",
                                                        params: __WEBPACK_IMPORTED_MODULE_3_babel_runtime_core_js_json_stringify___default()(t.config),
                                                        error_msg: e.message
                                                    }, t.reportOptions), r(e)
                                                }
                                            }
                                        })
                                    }, e.prototype.useStore = function(e) {
                                        return this.storeName = e, this
                                    }, e.prototype.deleteDB = function() {
                                        var e = this;
                                        return this.closeDB(), new __WEBPACK_IMPORTED_MODULE_6_babel_runtime_core_js_promise___default.a(function(t, n) {
                                            var r = indexedDB.deleteDatabase(e.config.name);
                                            r.onsuccess = function() {
                                                return t()
                                            }, r.onerror = n
                                        })
                                    }, e.prototype.closeDB = function() {
                                        var e;
                                        null === (e = this.db) || void 0 === e || e.close(), this.db = null
                                    }, e.prototype.getStoreCount = function() {
                                        var e = this;
                                        return new __WEBPACK_IMPORTED_MODULE_6_babel_runtime_core_js_promise___default.a(function(t, n) {
                                            var r = e.getStore("readonly").count();
                                            r.onsuccess = function() {
                                                return t(r.result)
                                            }, r.onerror = n
                                        })
                                    }, e.prototype.clearStore = function() {
                                        var e = this;
                                        return new __WEBPACK_IMPORTED_MODULE_6_babel_runtime_core_js_promise___default.a(function(t, n) {
                                            var r = e.getStore("readwrite").clear();
                                            r.onsuccess = function() {
                                                return t()
                                            }, r.onerror = n
                                        })
                                    }, e.prototype.add = function(e, t) {
                                        var n = this;
                                        return new __WEBPACK_IMPORTED_MODULE_6_babel_runtime_core_js_promise___default.a(function(r, o) {
                                            var i = n.getStore("readwrite").add(e, t);
                                            i.onsuccess = function() {
                                                r(i.result)
                                            }, i.onerror = o
                                        })
                                    }, e.prototype.put = function(e, t) {
                                        var n = this;
                                        return new __WEBPACK_IMPORTED_MODULE_6_babel_runtime_core_js_promise___default.a(function(r, o) {
                                            var i = n.getStore("readwrite").put(e, t);
                                            i.onsuccess = function() {
                                                r(i.result)
                                            }, i.onerror = o
                                        })
                                    }, e.prototype.getStoreAllData = function() {
                                        var e = this;
                                        return new __WEBPACK_IMPORTED_MODULE_6_babel_runtime_core_js_promise___default.a(function(t, n) {
                                            var r = e.getStore("readonly").openCursor(),
                                                o = [];
                                            r.onsuccess = function() {
                                                var e;
                                                if (null === (e = r.result) || void 0 === e ? void 0 : e.value) {
                                                    var n = r.result.value;
                                                    o.push(n), r.result.continue()
                                                } else t(o)
                                            }, r.onerror = n
                                        })
                                    }, e.prototype.getDataRangeByIndex = function(e, t, n, r, o) {
                                        var i = this;
                                        return new __WEBPACK_IMPORTED_MODULE_6_babel_runtime_core_js_promise___default.a(function(a, s) {
                                            var c = i.getStore().index(e),
                                                u = IDBKeyRange.bound(t, n, r, o),
                                                l = [],
                                                d = c.openCursor(u);
                                            d.onsuccess = function() {
                                                var e;
                                                (null === (e = null == d ? void 0 : d.result) || void 0 === e ? void 0 : e.value) ? (l.push(null == d ? void 0 : d.result.value), null == d || d.result.continue()) : a(l)
                                            }, d.onerror = s
                                        })
                                    }, e.prototype.removeDataByIndex = function(e, t, n, r, o) {
                                        var i = this;
                                        return new __WEBPACK_IMPORTED_MODULE_6_babel_runtime_core_js_promise___default.a(function(a, s) {
                                            var c = i.getStore("readwrite").index(e),
                                                u = IDBKeyRange.bound(t, n, r, o),
                                                l = c.openCursor(u),
                                                d = 0;
                                            l.onsuccess = function(e) {
                                                var t = e.target.result;
                                                t ? (d += 1, t.delete(), t.continue()) : a(d)
                                            }, l.onerror = s
                                        })
                                    }, e.prototype.createStore = function(e) {
                                        var t = e.name,
                                            n = e.indexes,
                                            r = void 0 === n ? [] : n,
                                            o = e.options;
                                        if (this.db) {
                                            this.db.objectStoreNames.contains(t) && this.db.deleteObjectStore(t);
                                            var i = this.db.createObjectStore(t, o);
                                            r.forEach(function(e) {
                                                i.createIndex(e.indexName, e.keyPath, e.options)
                                            })
                                        }
                                    }, e.prototype.getStore = function(e) {
                                        var t;
                                        return void 0 === e && (e = "readonly"), null === (t = this.db) || void 0 === t ? void 0 : t.transaction(this.storeName, e).objectStore(this.storeName)
                                    }, e
                                }(),
                                x = "event_table_v3",
                                D = "eventId",
                                S = function() {
                                    function e(e) {
                                        this.isReady = !1, this.taskQueue = __WEBPACK_IMPORTED_MODULE_6_babel_runtime_core_js_promise___default.a.resolve(), this.db = new O({
                                            name: "Beacon_" + e + "_V3",
                                            version: 1,
                                            stores: [{
                                                name: x,
                                                options: {
                                                    keyPath: D
                                                },
                                                indexes: [{
                                                    indexName: D,
                                                    keyPath: D,
                                                    options: {
                                                        unique: !0
                                                    }
                                                }]
                                            }]
                                        }), this.open()
                                    }
                                    return e.prototype.getCount = function() {
                                        var e = this;
                                        return this.readyExec(function() {
                                            return e.db.getStoreCount()
                                        })
                                    }, e.prototype.setItem = function(e, t) {
                                        var n = this;
                                        return this.readyExec(function() {
                                            return n.db.add({
                                                eventId: e,
                                                value: t
                                            })
                                        })
                                    }, e.prototype.getItem = function(e) {
                                        return n(this, void 0, void 0, function() {
                                            var t = this;
                                            return o(this, function(n) {
                                                return [2, this.readyExec(function() {
                                                    return t.db.getDataRangeByIndex(D, e, e)
                                                })]
                                            })
                                        })
                                    }, e.prototype.removeItem = function(e) {
                                        var t = this;
                                        return this.readyExec(function() {
                                            return t.db.removeDataByIndex(D, e, e)
                                        })
                                    }, e.prototype.updateItem = function(e, t) {
                                        var n = this;
                                        return this.readyExec(function() {
                                            return n.db.put({
                                                eventId: e,
                                                value: t
                                            })
                                        })
                                    }, e.prototype.iterate = function(e) {
                                        var t = this;
                                        return this.readyExec(function() {
                                            return t.db.getStoreAllData().then(function(t) {
                                                t.forEach(function(t) {
                                                    e(t.value)
                                                })
                                            })
                                        })
                                    }, e.prototype.open = function() {
                                        return n(this, void 0, void 0, function() {
                                            var e = this;
                                            return o(this, function(t) {
                                                switch (t.label) {
                                                    case 0:
                                                        return this.taskQueue = this.taskQueue.then(function() {
                                                            return e.db.openDB()
                                                        }), [4, this.taskQueue];
                                                    case 1:
                                                        return t.sent(), this.isReady = !0, this.db.useStore(x), [2]
                                                }
                                            })
                                        })
                                    }, e.prototype.readyExec = function(e) {
                                        return this.isReady ? e() : (this.taskQueue = this.taskQueue.then(function() {
                                            return e()
                                        }), this.taskQueue)
                                    }, e
                                }(),
                                R = function() {
                                    function e(e) {
                                        this.keyObject = {}, this.storage = e
                                    }
                                    return e.prototype.getCount = function() {
                                        return this.storage.getStoreCount()
                                    }, e.prototype.removeItem = function(e) {
                                        this.storage.removeItem(e), delete this.keyObject[e]
                                    }, e.prototype.setItem = function(e, t) {
                                        var n = __WEBPACK_IMPORTED_MODULE_3_babel_runtime_core_js_json_stringify___default()(t);
                                        this.storage.setItem(e, n), this.keyObject[e] = t
                                    }, e.prototype.iterate = function(e) {
                                        for (var t = __WEBPACK_IMPORTED_MODULE_5_babel_runtime_core_js_object_keys___default()(this.keyObject), n = 0; n < t.length; n++) {
                                            var r = this.storage.getItem(t[n]);
                                            e(JSON.parse(r))
                                        }
                                    }, e
                                }(),
                                A = function() {
                                    function e(e, t) {
                                        var n = this;
                                        this.dbEventCount = 0, E() > 0 || !window.indexedDB || /X5Lite/.test(navigator.userAgent) ? (this.store = new R(t), this.dbEventCount = this.store.getCount()) : (this.store = new S(e), this.getCount().then(function(e) {
                                            n.dbEventCount = e
                                        }))
                                    }
                                    return e.prototype.getCount = function() {
                                        return n(this, void 0, void 0, function() {
                                            return o(this, function(e) {
                                                switch (e.label) {
                                                    case 0:
                                                        return e.trys.push([0, 2, , 3]), [4, this.store.getCount()];
                                                    case 1:
                                                        return [2, e.sent()];
                                                    case 2:
                                                        return e.sent(), [2, __WEBPACK_IMPORTED_MODULE_6_babel_runtime_core_js_promise___default.a.reject()];
                                                    case 3:
                                                        return [2]
                                                }
                                            })
                                        })
                                    }, e.prototype.insertEvent = function(e, t) {
                                        return n(this, void 0, void 0, function() {
                                            var n, r;
                                            return o(this, function(o) {
                                                switch (o.label) {
                                                    case 0:
                                                        if (this.dbEventCount >= 1e4) return [2, __WEBPACK_IMPORTED_MODULE_6_babel_runtime_core_js_promise___default.a.reject()];
                                                        n = _(e.mapValue), o.label = 1;
                                                    case 1:
                                                        return o.trys.push([1, 3, , 4]), this.dbEventCount++, [4, this.store.setItem(n, e)];
                                                    case 2:
                                                        return [2, o.sent()];
                                                    case 3:
                                                        return r = o.sent(), t && t(r, e), this.dbEventCount--, [2, __WEBPACK_IMPORTED_MODULE_6_babel_runtime_core_js_promise___default.a.reject()];
                                                    case 4:
                                                        return [2]
                                                }
                                            })
                                        })
                                    }, e.prototype.getEvents = function() {
                                        return n(this, void 0, void 0, function() {
                                            var e;
                                            return o(this, function(t) {
                                                switch (t.label) {
                                                    case 0:
                                                        e = [], t.label = 1;
                                                    case 1:
                                                        return t.trys.push([1, 3, , 4]), [4, this.store.iterate(function(t) {
                                                            e.push(t)
                                                        })];
                                                    case 2:
                                                    case 3:
                                                        return t.sent(), [2, __WEBPACK_IMPORTED_MODULE_6_babel_runtime_core_js_promise___default.a.all(e)];
                                                    case 4:
                                                        return [2]
                                                }
                                            })
                                        })
                                    }, e.prototype.removeEvent = function(e) {
                                        return n(this, void 0, void 0, function() {
                                            var t;
                                            return o(this, function(n) {
                                                switch (n.label) {
                                                    case 0:
                                                        t = _(e.mapValue), n.label = 1;
                                                    case 1:
                                                        return n.trys.push([1, 3, , 4]), this.dbEventCount--, [4, this.store.removeItem(t)];
                                                    case 2:
                                                        return [2, n.sent()];
                                                    case 3:
                                                        return n.sent(), this.dbEventCount++, [2, __WEBPACK_IMPORTED_MODULE_6_babel_runtime_core_js_promise___default.a.reject()];
                                                    case 4:
                                                        return [2]
                                                }
                                            })
                                        })
                                    }, e
                                }(),
                                P = function() {
                                    return (P = __WEBPACK_IMPORTED_MODULE_4_babel_runtime_core_js_object_assign___default.a || function(e) {
                                        for (var t, n = 1, r = arguments.length; n < r; n++)
                                            for (var o in t = arguments[n]) Object.prototype.hasOwnProperty.call(t, o) && (e[o] = t[o]);
                                        return e
                                    }).apply(this, arguments)
                                };

                            function I(e) {
                                try {
                                    return decodeURIComponent(e.replace(/\+/g, " "))
                                } catch (e) {
                                    return null
                                }
                            }

                            function B(e, t) {
                                var n = [null, void 0, "", NaN].includes(e);
                                if (t.isSkipEmpty && n) return null;
                                var r = !t.isSkipEmpty && n ? "" : e;
                                try {
                                    return t.encode ? encodeURIComponent(r) : r
                                } catch (e) {
                                    return null
                                }
                            }(k = w || (w = {}))[k.equal = 0] = "equal", k[k.low = -1] = "low", k[k.high = 1] = "high";
                            var M = function() {
                                return (M = __WEBPACK_IMPORTED_MODULE_4_babel_runtime_core_js_object_assign___default.a || function(e) {
                                    for (var t, n = 1, r = arguments.length; n < r; n++)
                                        for (var o in t = arguments[n]) Object.prototype.hasOwnProperty.call(t, o) && (e[o] = t[o]);
                                    return e
                                }).apply(this, arguments)
                            };

                            function U(e, t, n, r) {
                                return new(n || (n = __WEBPACK_IMPORTED_MODULE_6_babel_runtime_core_js_promise___default.a))(function(o, i) {
                                    function a(e) {
                                        try {
                                            c(r.next(e))
                                        } catch (e) {
                                            i(e)
                                        }
                                    }

                                    function s(e) {
                                        try {
                                            c(r.throw(e))
                                        } catch (e) {
                                            i(e)
                                        }
                                    }

                                    function c(e) {
                                        var t;
                                        e.done ? o(e.value) : (t = e.value, t instanceof n ? t : new n(function(e) {
                                            e(t)
                                        })).then(a, s)
                                    }
                                    c((r = r.apply(e, t || [])).next())
                                })
                            }

                            function j(e, t) {
                                var n, r, o, i, a = {
                                    label: 0,
                                    sent: function() {
                                        if (1 & o[0]) throw o[1];
                                        return o[1]
                                    },
                                    trys: [],
                                    ops: []
                                };
                                return i = {
                                    next: s(0),
                                    throw: s(1),
                                    return: s(2)
                                }, "function" == typeof __WEBPACK_IMPORTED_MODULE_10_babel_runtime_core_js_symbol___default.a && (i[__WEBPACK_IMPORTED_MODULE_7_babel_runtime_core_js_symbol_iterator___default.a] = function() {
                                    return this
                                }), i;

                                function s(i) {
                                    return function(s) {
                                        return function(i) {
                                            if (n) throw new TypeError("Generator is already executing.");
                                            for (; a;) try {
                                                if (n = 1, r && (o = 2 & i[0] ? r.return : i[0] ? r.throw || ((o = r.return) && o.call(r), 0) : r.next) && !(o = o.call(r, i[1])).done) return o;
                                                switch (r = 0, o && (i = [2 & i[0], o.value]), i[0]) {
                                                    case 0:
                                                    case 1:
                                                        o = i;
                                                        break;
                                                    case 4:
                                                        return a.label++, {
                                                            value: i[1],
                                                            done: !1
                                                        };
                                                    case 5:
                                                        a.label++, r = i[1], i = [0];
                                                        continue;
                                                    case 7:
                                                        i = a.ops.pop(), a.trys.pop();
                                                        continue;
                                                    default:
                                                        if (!((o = (o = a.trys).length > 0 && o[o.length - 1]) || 6 !== i[0] && 2 !== i[0])) {
                                                            a = 0;
                                                            continue
                                                        }
                                                        if (3 === i[0] && (!o || i[1] > o[0] && i[1] < o[3])) {
                                                            a.label = i[1];
                                                            break
                                                        }
                                                        if (6 === i[0] && a.label < o[1]) {
                                                            a.label = o[1], o = i;
                                                            break
                                                        }
                                                        if (o && a.label < o[2]) {
                                                            a.label = o[2], a.ops.push(i);
                                                            break
                                                        }
                                                        o[2] && a.ops.pop(), a.trys.pop();
                                                        continue
                                                }
                                                i = t.call(e, a)
                                            } catch (e) {
                                                i = [6, e], r = 0
                                            } finally {
                                                n = o = 0
                                            }
                                            if (5 & i[0]) throw i[1];
                                            return {
                                                value: i[0] ? i[1] : void 0,
                                                done: !0
                                            }
                                        }([i, s])
                                    }
                                }
                            }
                            var L = function() {
                                    function e() {
                                        this.interceptors = []
                                    }
                                    return e.prototype.use = function(e, t) {
                                        return this.interceptors.push({
                                            resolved: e,
                                            rejected: t
                                        }), this.interceptors.length - 1
                                    }, e.prototype.traverse = function(e, t) {
                                        void 0 === t && (t = !1);
                                        var n = __WEBPACK_IMPORTED_MODULE_6_babel_runtime_core_js_promise___default.a.resolve(e);
                                        return (t ? Array.prototype.reduceRight : Array.prototype.reduce).call(this.interceptors, function(e, t) {
                                            if (t) {
                                                var r = t.resolved,
                                                    o = t.rejected;
                                                n = n.then(r, o)
                                            }
                                            return e
                                        }, ""), n
                                    }, e.prototype.eject = function(e) {
                                        this.interceptors[e] && (this.interceptors[e] = null)
                                    }, e
                                }(),
                                N = {
                                    defaults: {
                                        timeout: 0,
                                        method: "GET",
                                        mode: "cors",
                                        redirect: "follow",
                                        credentials: "same-origin"
                                    },
                                    headers: {
                                        common: {
                                            Accept: "application/json, text/plain, */*"
                                        },
                                        POST: {
                                            "Content-Type": "application/x-www-form-urlencoded"
                                        },
                                        PUT: {
                                            "Content-Type": "application/x-www-form-urlencoded"
                                        },
                                        PATCH: {
                                            "Content-Type": "application/x-www-form-urlencoded"
                                        }
                                    },
                                    baseURL: "",
                                    polyfillUrl: "https://vm.gtimg.cn/comps/script/fetch.min.js",
                                    interceptors: {
                                        request: new L,
                                        response: new L
                                    }
                                },
                                K = /^([a-z][a-z\d+\-.]*:)?\/\//i,
                                H = Object.prototype.toString;

                            function q(e) {
                                return U(this, void 0, void 0, function() {
                                    var t;
                                    return j(this, function(n) {
                                        switch (n.label) {
                                            case 0:
                                                if (window.fetch) return [2];
                                                n.label = 1;
                                            case 1:
                                                return n.trys.push([1, 3, , 4]), [4, function(e, t) {
                                                    return new __WEBPACK_IMPORTED_MODULE_6_babel_runtime_core_js_promise___default.a(function(n, r) {
                                                        if (t && document.querySelectorAll("script[data-tag=" + t + "]").length) return n();
                                                        var o = document.createElement("script"),
                                                            i = P({
                                                                type: "text/javascript",
                                                                charset: "utf-8"
                                                            }, e);
                                                        __WEBPACK_IMPORTED_MODULE_5_babel_runtime_core_js_object_keys___default()(i).forEach(function(e) {
                                                            return function(e, t, n) {
                                                                if (e) return void 0 === n ? e.getAttribute(t) : e.setAttribute(t, n)
                                                            }(o, e, i[e])
                                                        }), t && (o.dataset.tag = t), o.onload = function() {
                                                            return n()
                                                        }, o.onreadystatechange = function() {
                                                            var e = o.readyState;
                                                            ["complete", "loaded"].includes(e) && (o.onreadystatechange = null, n())
                                                        }, o.onerror = r, document.body.appendChild(o)
                                                    })
                                                }({
                                                    src: e
                                                })];
                                            case 2:
                                                return n.sent(), [3, 4];
                                            case 3:
                                                throw t = n.sent(),
                                                    function(e) {
                                                        if ("undefined" != typeof Image) {
                                                            var t = new Image(1, 1),
                                                                n = M({
                                                                    attaid: "0f400053130",
                                                                    token: "6552374442",
                                                                    comps: "@tencent/ovb-request",
                                                                    version: "1.1.18",
                                                                    ua: navigator.userAgent,
                                                                    url: location.href,
                                                                    _dc: Math.random()
                                                                }, e),
                                                                r = __WEBPACK_IMPORTED_MODULE_5_babel_runtime_core_js_object_keys___default()(n).map(function(e) {
                                                                    return e + "=" + encodeURIComponent(n[e])
                                                                }).join("&");
                                                            t.src = "https://h.trace.qq.com/kv?" + r
                                                        }
                                                    }({
                                                        func: "loadPolyfill",
                                                        result: 0,
                                                        params: e,
                                                        error_msg: t.message
                                                    }), new Error("加载 polyfill " + e + " 失败: " + t.message);
                                            case 4:
                                                return [2]
                                        }
                                    })
                                })
                            }

                            function F(e) {
                                return U(this, void 0, void 0, function() {
                                    var t, n, r, o, i, a, s, c, u, l, d, f, p, h, _, m, g;
                                    return j(this, function(y) {
                                        switch (y.label) {
                                            case 0:
                                                return t = N.baseURL, n = N.defaults, r = N.interceptors, [4, q(N.polyfillUrl)];
                                            case 1:
                                                return y.sent(), (o = M(M({}, n), e)).headers || (o.headers = function(e) {
                                                        void 0 === e && (e = "GET");
                                                        var t = N.headers[e] || {};
                                                        return M(M({}, N.headers.common), t)
                                                    }(o.method)),
                                                    function(e) {
                                                        ["Accept", "Content-Type"].forEach(function(t) {
                                                                return n = t, void((r = e.headers) && __WEBPACK_IMPORTED_MODULE_5_babel_runtime_core_js_object_keys___default()(r).forEach(function(e) {
                                                                    e !== n && e.toUpperCase() === n.toUpperCase() && (r[n] = r[e], delete r[e])
                                                                }));
                                                                var n, r
                                                            }),
                                                            function(e) {
                                                                if ("[object Object]" !== H.call(e)) return !1;
                                                                var t = __WEBPACK_IMPORTED_MODULE_1_babel_runtime_core_js_object_get_prototype_of___default()(e);
                                                                return null === t || t === Object.prototype
                                                            }(e.body) && (e.body = __WEBPACK_IMPORTED_MODULE_3_babel_runtime_core_js_json_stringify___default()(e.body), e.headers && (e.headers["Content-Type"] = "application/json;charset=utf-8"))
                                                    }(o), [4, r.request.traverse(o, !0)];
                                            case 2:
                                                if ((i = y.sent()) instanceof Error) throw i;
                                                return i.url = function(e, t) {
                                                    return !e || K.test(t) ? t : e.replace(/\/+$/, "") + "/" + t.replace(/^\/+/, "")
                                                }(t, i.url), a = i.url, s = i.timeout, c = i.params, u = i.method, l = ["GET", "DELETE", "OPTIONS", "HEAD"].includes(void 0 === u ? "GET" : u) && !!c, d = l ? function(e, t) {
                                                    void 0 === t && (t = {
                                                        encode: !0,
                                                        isSkipEmpty: !1
                                                    });
                                                    var n = e.url,
                                                        r = e.query,
                                                        o = void 0 === r ? {} : r,
                                                        i = e.hash,
                                                        a = n.split("#"),
                                                        s = a[0],
                                                        c = a[1],
                                                        u = void 0 === c ? "" : c,
                                                        l = s.split("?")[0],
                                                        d = [],
                                                        f = B(i || u, t),
                                                        p = P(P({}, function(e) {
                                                            var t = e.split("#"),
                                                                n = t[0],
                                                                r = t[1],
                                                                o = void 0 === r ? "" : r,
                                                                i = n.split("?"),
                                                                a = i[0],
                                                                s = i[1],
                                                                c = void 0 === s ? "" : s,
                                                                u = I(o),
                                                                l = __WEBPACK_IMPORTED_MODULE_8_babel_runtime_core_js_object_create___default()(null);
                                                            return c.split("&").forEach(function(e) {
                                                                var t = e.split("="),
                                                                    n = t[0],
                                                                    r = t[1],
                                                                    o = void 0 === r ? "" : r,
                                                                    i = I(n),
                                                                    a = I(o);
                                                                null === i || null === a || "" === i && "" === a || l[i] || (l[i] = a)
                                                            }), {
                                                                url: a,
                                                                query: l,
                                                                hash: u
                                                            }
                                                        }(n).query), o);
                                                    return __WEBPACK_IMPORTED_MODULE_5_babel_runtime_core_js_object_keys___default()(p).forEach(function(e) {
                                                        var n = B(e, t),
                                                            r = B(p[e], t);
                                                        null !== n && null !== r && d.push(n + "=" + r)
                                                    }), l + (d.length ? "?" + d.join("&") : "") + (f ? "#" + f : "")
                                                }({
                                                    url: a,
                                                    query: c
                                                }) : a, f = [], s && !i.signal && (_ = new __WEBPACK_IMPORTED_MODULE_6_babel_runtime_core_js_promise___default.a(function(e) {
                                                    p = setTimeout(function() {
                                                        e(new Error("timeout"))
                                                    }, s)
                                                }), f.push(_), h = new AbortController, i.signal = h.signal), f.push(fetch(d, i).catch(function(e) {
                                                    return e
                                                })), [4, __WEBPACK_IMPORTED_MODULE_6_babel_runtime_core_js_promise___default.a.race(f)];
                                            case 3:
                                                return m = y.sent(), p && clearTimeout(p), [4, r.response.traverse(m)];
                                            case 4:
                                                if ((g = y.sent()) instanceof Error) throw null == h || h.abort(), g;
                                                return [2, g]
                                        }
                                    })
                                })
                            }
                            var W = function() {
                                    function e(e) {
                                        N.interceptors.request.use(function(n) {
                                            var r = n.url,
                                                o = n.method,
                                                i = n.body,
                                                a = i;
                                            if (e.onReportBeforeSend) {
                                                var s = e.onReportBeforeSend({
                                                    url: r,
                                                    method: o,
                                                    data: i ? JSON.parse(i) : null
                                                });
                                                a = (null == s ? void 0 : s.data) ? __WEBPACK_IMPORTED_MODULE_3_babel_runtime_core_js_json_stringify___default()(s.data) : null
                                            }
                                            if ("GET" !== o && !a) throw new Error("No data for sdk, cancel.");
                                            return t(t({}, n), {
                                                body: a
                                            })
                                        })
                                    }
                                    return e.prototype.get = function(e, r) {
                                        return n(this, void 0, void 0, function() {
                                            var n, i;
                                            return o(this, function(o) {
                                                switch (o.label) {
                                                    case 0:
                                                        return [4, F(t({
                                                            url: e
                                                        }, r))];
                                                    case 1:
                                                        return [4, (n = o.sent()).json()];
                                                    case 2:
                                                        return i = o.sent(), [2, __WEBPACK_IMPORTED_MODULE_6_babel_runtime_core_js_promise___default.a.resolve({
                                                            data: i,
                                                            status: n.status,
                                                            statusText: n.statusText,
                                                            headers: n.headers
                                                        })]
                                                }
                                            })
                                        })
                                    }, e.prototype.post = function(e, r, i) {
                                        return n(this, void 0, void 0, function() {
                                            var n, a;
                                            return o(this, function(o) {
                                                switch (o.label) {
                                                    case 0:
                                                        return [4, F(t({
                                                            url: e,
                                                            body: r,
                                                            method: "POST"
                                                        }, i))];
                                                    case 1:
                                                        return [4, (n = o.sent()).json()];
                                                    case 2:
                                                        return a = o.sent(), [2, __WEBPACK_IMPORTED_MODULE_6_babel_runtime_core_js_promise___default.a.resolve({
                                                            data: a,
                                                            status: n.status,
                                                            statusText: n.statusText,
                                                            headers: n.headers
                                                        })]
                                                }
                                            })
                                        })
                                    }, e
                                }(),
                                z = function() {
                                    function e(e) {
                                        this.appkey = e
                                    }
                                    return e.prototype.getItem = function(e) {
                                        try {
                                            return window.localStorage.getItem(this.getStoreKey(e))
                                        } catch (e) {
                                            return ""
                                        }
                                    }, e.prototype.removeItem = function(e) {
                                        try {
                                            window.localStorage.removeItem(this.getStoreKey(e))
                                        } catch (e) {}
                                    }, e.prototype.setItem = function(e, t) {
                                        try {
                                            window.localStorage.setItem(this.getStoreKey(e), t)
                                        } catch (e) {}
                                    }, e.prototype.setSessionItem = function(e, t) {
                                        try {
                                            window.sessionStorage.setItem(this.getStoreKey(e), t)
                                        } catch (e) {}
                                    }, e.prototype.getSessionItem = function(e) {
                                        try {
                                            return window.sessionStorage.getItem(this.getStoreKey(e))
                                        } catch (e) {
                                            return ""
                                        }
                                    }, e.prototype.getStoreKey = function(e) {
                                        return i + this.appkey + "_" + e
                                    }, e.prototype.createDeviceId = function() {
                                        try {
                                            var e = window.localStorage.getItem(a);
                                            return e || (e = function(e) {
                                                for (var t = "ABCDEFGHJKMNPQRSTWXYZabcdefhijkmnprstwxyz0123456789", n = "", r = 0; r < 32; r++) n += t.charAt(Math.floor(Math.random() * t.length));
                                                return n
                                            }(), window.localStorage.setItem(a, e)), e
                                        } catch (e) {
                                            return ""
                                        }
                                    }, e.prototype.clear = function() {
                                        try {
                                            for (var e = window.localStorage.length, t = 0; t < e; t++) {
                                                var n = window.localStorage.key(t);
                                                (null == n ? void 0 : n.substr(0, 9)) == i && window.localStorage.removeItem(n)
                                            }
                                        } catch (e) {}
                                    }, e.prototype.getStoreCount = function() {
                                        var e = 0;
                                        try {
                                            e = window.localStorage.length
                                        } catch (e) {}
                                        return e
                                    }, e
                                }();
                            "undefined" != typeof globalThis ? globalThis : "undefined" != typeof window ? window : void 0 !== r || "undefined" != typeof self && self;
                            var X, G = ((X = {
                                    exports: {}
                                }).exports = function() {
                                    function e(e, t, n, r, o, i, a) {
                                        try {
                                            var s = e[i](a),
                                                c = s.value
                                        } catch (e) {
                                            return void n(e)
                                        }
                                        s.done ? t(c) : __WEBPACK_IMPORTED_MODULE_6_babel_runtime_core_js_promise___default.a.resolve(c).then(r, o)
                                    }
                                    var t, n = (function(e) {
                                        e = function(e) {
                                            var t, n = Object.prototype,
                                                r = n.hasOwnProperty,
                                                o = "function" == typeof __WEBPACK_IMPORTED_MODULE_10_babel_runtime_core_js_symbol___default.a ? __WEBPACK_IMPORTED_MODULE_10_babel_runtime_core_js_symbol___default.a : {},
                                                i = o.iterator || "@@iterator",
                                                a = o.asyncIterator || "@@asyncIterator",
                                                c = o.toStringTag || "@@toStringTag";

                                            function u(e, t, n) {
                                                return __WEBPACK_IMPORTED_MODULE_11_babel_runtime_core_js_object_define_property___default()(e, t, {
                                                    value: n,
                                                    enumerable: !0,
                                                    configurable: !0,
                                                    writable: !0
                                                }), e[t]
                                            }
                                            try {
                                                u({}, "")
                                            } catch (n) {
                                                u = function(e, t, n) {
                                                    return e[t] = n
                                                }
                                            }

                                            function l(e, n, r, o) {
                                                var i, a, s, c;
                                                return n = n && n.prototype instanceof g ? n : g, n = __WEBPACK_IMPORTED_MODULE_8_babel_runtime_core_js_object_create___default()(n.prototype), o = new O(o || []), n._invoke = (i = e, a = r, s = o, c = f, function(e, n) {
                                                    if (c === h) throw new Error("Generator is already running");
                                                    if (c === _) {
                                                        if ("throw" === e) throw n;
                                                        return D()
                                                    }
                                                    for (s.method = e, s.arg = n;;) {
                                                        var r = s.delegate;
                                                        if (r) {
                                                            var o = function e(n, r) {
                                                                var o;
                                                                if ((o = n.iterator[r.method]) === t) {
                                                                    if (r.delegate = null, "throw" === r.method) {
                                                                        if (n.iterator.return && (r.method = "return", r.arg = t, e(n, r), "throw" === r.method)) return m;
                                                                        r.method = "throw", r.arg = new TypeError("The iterator does not provide a 'throw' method")
                                                                    }
                                                                    return m
                                                                }
                                                                return "throw" === (o = d(o, n.iterator, r.arg)).type ? (r.method = "throw", r.arg = o.arg, r.delegate = null, m) : (o = o.arg) ? o.done ? (r[n.resultName] = o.value, r.next = n.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, m) : o : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, m)
                                                            }(r, s);
                                                            if (o) {
                                                                if (o === m) continue;
                                                                return o
                                                            }
                                                        }
                                                        if ("next" === s.method) s.sent = s._sent = s.arg;
                                                        else if ("throw" === s.method) {
                                                            if (c === f) throw c = _, s.arg;
                                                            s.dispatchException(s.arg)
                                                        } else "return" === s.method && s.abrupt("return", s.arg);
                                                        if (c = h, "normal" === (o = d(i, a, s)).type) {
                                                            if (c = s.done ? _ : p, o.arg !== m) return {
                                                                value: o.arg,
                                                                done: s.done
                                                            }
                                                        } else "throw" === o.type && (c = _, s.method = "throw", s.arg = o.arg)
                                                    }
                                                }), n
                                            }

                                            function d(e, t, n) {
                                                try {
                                                    return {
                                                        type: "normal",
                                                        arg: e.call(t, n)
                                                    }
                                                } catch (e) {
                                                    return {
                                                        type: "throw",
                                                        arg: e
                                                    }
                                                }
                                            }
                                            e.wrap = l;
                                            var f = "suspendedStart",
                                                p = "suspendedYield",
                                                h = "executing",
                                                _ = "completed",
                                                m = {};

                                            function g() {}

                                            function y() {}

                                            function v() {}
                                            var b = {};
                                            b[i] = function() {
                                                return this
                                            }, (o = (o = __WEBPACK_IMPORTED_MODULE_1_babel_runtime_core_js_object_get_prototype_of___default.a) && o(o(x([])))) && o !== n && r.call(o, i) && (b = o);
                                            var C = v.prototype = g.prototype = __WEBPACK_IMPORTED_MODULE_8_babel_runtime_core_js_object_create___default()(b);

                                            function E(e) {
                                                ["next", "throw", "return"].forEach(function(t) {
                                                    u(e, t, function(e) {
                                                        return this._invoke(t, e)
                                                    })
                                                })
                                            }

                                            function w(e, t) {
                                                var n;
                                                this._invoke = function(o, i) {
                                                    function a() {
                                                        return new t(function(n, a) {
                                                            ! function n(o, i, a, c) {
                                                                if ("throw" !== (o = d(e[o], e, i)).type) {
                                                                    var u = o.arg;
                                                                    return (i = u.value) && "object" == s(i) && r.call(i, "__await") ? t.resolve(i.__await).then(function(e) {
                                                                        n("next", e, a, c)
                                                                    }, function(e) {
                                                                        n("throw", e, a, c)
                                                                    }) : t.resolve(i).then(function(e) {
                                                                        u.value = e, a(u)
                                                                    }, function(e) {
                                                                        return n("throw", e, a, c)
                                                                    })
                                                                }
                                                                c(o.arg)
                                                            }(o, i, n, a)
                                                        })
                                                    }
                                                    return n = n ? n.then(a, a) : a()
                                                }
                                            }

                                            function k(e) {
                                                var t = {
                                                    tryLoc: e[0]
                                                };
                                                1 in e && (t.catchLoc = e[1]), 2 in e && (t.finallyLoc = e[2], t.afterLoc = e[3]), this.tryEntries.push(t)
                                            }

                                            function T(e) {
                                                var t = e.completion || {};
                                                t.type = "normal", delete t.arg, e.completion = t
                                            }

                                            function O(e) {
                                                this.tryEntries = [{
                                                    tryLoc: "root"
                                                }], e.forEach(k, this), this.reset(!0)
                                            }

                                            function x(e) {
                                                if (e) {
                                                    if (n = e[i]) return n.call(e);
                                                    if ("function" == typeof e.next) return e;
                                                    if (!isNaN(e.length)) {
                                                        var n, o = -1;
                                                        return (n = function n() {
                                                            for (; ++o < e.length;)
                                                                if (r.call(e, o)) return n.value = e[o], n.done = !1, n;
                                                            return n.value = t, n.done = !0, n
                                                        }).next = n
                                                    }
                                                }
                                                return {
                                                    next: D
                                                }
                                            }

                                            function D() {
                                                return {
                                                    value: t,
                                                    done: !0
                                                }
                                            }
                                            return ((y.prototype = C.constructor = v).constructor = y).displayName = u(v, c, "GeneratorFunction"), e.isGeneratorFunction = function(e) {
                                                return !!(e = "function" == typeof e && e.constructor) && (e === y || "GeneratorFunction" === (e.displayName || e.name))
                                            }, e.mark = function(e) {
                                                return __WEBPACK_IMPORTED_MODULE_2_babel_runtime_core_js_object_set_prototype_of___default.a ? __WEBPACK_IMPORTED_MODULE_2_babel_runtime_core_js_object_set_prototype_of___default()(e, v) : (e.__proto__ = v, u(e, c, "GeneratorFunction")), e.prototype = __WEBPACK_IMPORTED_MODULE_8_babel_runtime_core_js_object_create___default()(C), e
                                            }, e.awrap = function(e) {
                                                return {
                                                    __await: e
                                                }
                                            }, E(w.prototype), w.prototype[a] = function() {
                                                return this
                                            }, e.AsyncIterator = w, e.async = function(t, n, r, o, i) {
                                                void 0 === i && (i = __WEBPACK_IMPORTED_MODULE_6_babel_runtime_core_js_promise___default.a);
                                                var a = new w(l(t, n, r, o), i);
                                                return e.isGeneratorFunction(n) ? a : a.next().then(function(e) {
                                                    return e.done ? e.value : a.next()
                                                })
                                            }, E(C), u(C, c, "Generator"), C[i] = function() {
                                                return this
                                            }, C.toString = function() {
                                                return "[object Generator]"
                                            }, e.keys = function(e) {
                                                var t, n = [];
                                                for (t in e) n.push(t);
                                                return n.reverse(),
                                                    function t() {
                                                        for (; n.length;) {
                                                            var r = n.pop();
                                                            if (r in e) return t.value = r, t.done = !1, t
                                                        }
                                                        return t.done = !0, t
                                                    }
                                            }, e.values = x, O.prototype = {
                                                constructor: O,
                                                reset: function(e) {
                                                    if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(T), !e)
                                                        for (var n in this) "t" === n.charAt(0) && r.call(this, n) && !isNaN(+n.slice(1)) && (this[n] = t)
                                                },
                                                stop: function() {
                                                    this.done = !0;
                                                    var e = this.tryEntries[0].completion;
                                                    if ("throw" === e.type) throw e.arg;
                                                    return this.rval
                                                },
                                                dispatchException: function(e) {
                                                    if (this.done) throw e;
                                                    var n = this;

                                                    function o(r, o) {
                                                        return s.type = "throw", s.arg = e, n.next = r, o && (n.method = "next", n.arg = t), !!o
                                                    }
                                                    for (var i = this.tryEntries.length - 1; 0 <= i; --i) {
                                                        var a = this.tryEntries[i],
                                                            s = a.completion;
                                                        if ("root" === a.tryLoc) return o("end");
                                                        if (a.tryLoc <= this.prev) {
                                                            var c = r.call(a, "catchLoc"),
                                                                u = r.call(a, "finallyLoc");
                                                            if (c && u) {
                                                                if (this.prev < a.catchLoc) return o(a.catchLoc, !0);
                                                                if (this.prev < a.finallyLoc) return o(a.finallyLoc)
                                                            } else if (c) {
                                                                if (this.prev < a.catchLoc) return o(a.catchLoc, !0)
                                                            } else {
                                                                if (!u) throw new Error("try statement without catch or finally");
                                                                if (this.prev < a.finallyLoc) return o(a.finallyLoc)
                                                            }
                                                        }
                                                    }
                                                },
                                                abrupt: function(e, t) {
                                                    for (var n = this.tryEntries.length - 1; 0 <= n; --n) {
                                                        var o = this.tryEntries[n];
                                                        if (o.tryLoc <= this.prev && r.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
                                                            var i = o;
                                                            break
                                                        }
                                                    }
                                                    var a = (i = i && ("break" === e || "continue" === e) && i.tryLoc <= t && t <= i.finallyLoc ? null : i) ? i.completion : {};
                                                    return a.type = e, a.arg = t, i ? (this.method = "next", this.next = i.finallyLoc, m) : this.complete(a)
                                                },
                                                complete: function(e, t) {
                                                    if ("throw" === e.type) throw e.arg;
                                                    return "break" === e.type || "continue" === e.type ? this.next = e.arg : "return" === e.type ? (this.rval = this.arg = e.arg, this.method = "return", this.next = "end") : "normal" === e.type && t && (this.next = t), m
                                                },
                                                finish: function(e) {
                                                    for (var t = this.tryEntries.length - 1; 0 <= t; --t) {
                                                        var n = this.tryEntries[t];
                                                        if (n.finallyLoc === e) return this.complete(n.completion, n.afterLoc), T(n), m
                                                    }
                                                },
                                                catch: function(e) {
                                                    for (var t = this.tryEntries.length - 1; 0 <= t; --t) {
                                                        var n = this.tryEntries[t];
                                                        if (n.tryLoc === e) {
                                                            var r, o = n.completion;
                                                            return "throw" === o.type && (r = o.arg, T(n)), r
                                                        }
                                                    }
                                                    throw new Error("illegal catch attempt")
                                                },
                                                delegateYield: function(e, n, r) {
                                                    return this.delegate = {
                                                        iterator: x(e),
                                                        resultName: n,
                                                        nextLoc: r
                                                    }, "next" === this.method && (this.arg = t), m
                                                }
                                            }, e
                                        }(e.exports);
                                        try {
                                            regeneratorRuntime = e
                                        } catch (t) {
                                            Function("r", "regeneratorRuntime = r")(e)
                                        }
                                    }(t = {
                                        exports: {}
                                    }), t.exports);
                                    return function() {
                                        function t(e) {
                                            ! function(e, n) {
                                                if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
                                            }(this), this.version = "1.0.0";
                                            var n = Array.prototype.map,
                                                r = Array.prototype.forEach;
                                            e && (this.hasher = e), this.each = function(e, t, n) {
                                                if (null != e)
                                                    if (r && e.forEach === r) e.forEach(t, n);
                                                    else if (e.length === +e.length) {
                                                    for (var o = 0, i = e.length; o < i; o++)
                                                        if (t.call(n, e[o], o, e) === {}) return
                                                } else
                                                    for (var a in e)
                                                        if (e.hasOwnProperty(a) && t.call(n, e[a], a, e) === {}) return
                                            }, this.map = function(e, t, r) {
                                                var o = [];
                                                return null == e ? o : n && e.map === n ? e.map(t, r) : (this.each(e, function(e, n, i) {
                                                    o[o.length] = t.call(r, e, n, i)
                                                }), o)
                                            }
                                        }
                                        var r, o, i, a;
                                        return r = t, (o = [{
                                            key: "getQimei36",
                                            value: function(e, t) {
                                                var n = this;
                                                this.getHid().then(function(r) {
                                                    var o = "3BJr" + e.substring(0, 2) + (r && r.substring(3, 7)),
                                                        i = new XMLHttpRequest;
                                                    i.open("POST", "https://snowflake.qq.com/ola/h5", !0), i.setRequestHeader("Content-Type", "application/json"), i.onreadystatechange = function() {
                                                        if (i.readyState == XMLHttpRequest.DONE && 200 == i.status) try {
                                                            t && t(JSON.parse(i.responseText))
                                                        } catch (e) {
                                                            t(null)
                                                        }
                                                    }, i.send(__WEBPACK_IMPORTED_MODULE_3_babel_runtime_core_js_json_stringify___default()({
                                                        appKey: e,
                                                        hid: r,
                                                        sign: o,
                                                        version: n.version
                                                    }))
                                                })
                                            }
                                        }, {
                                            key: "getHid",
                                            value: (i = n.mark(function e() {
                                                var t, r;
                                                return n.wrap(function(e) {
                                                    for (;;) switch (e.prev = e.next) {
                                                        case 0:
                                                            return (t = []).push((n = void 0, (n = [Math.floor(window.screen.width * window.devicePixelRatio), Math.floor(window.screen.height * window.devicePixelRatio)]).sort().reverse(), n.join("x"))), t.push((n = void 0, (n = [Math.floor(window.screen.availWidth * window.devicePixelRatio), Math.floor(window.screen.availHeight * window.devicePixelRatio)]).sort().reverse(), n.join("x"))), t.push(navigator.deviceMemory), t.push(!!window.sessionStorage), t.push(!!window.indexedDB), t.push(navigator.productSub), t.push(navigator.hardwareConcurrency), t.push(this.getWebglVendorAndRenderer()), t.push((new Date).getTimezoneOffset()), e.next = 12, this.getFactor();
                                                        case 12:
                                                            if (r = e.sent, t.push(r), this.hasher) return e.abrupt("return", this.hasher(t.join("###"), 31));
                                                            e.next = 18;
                                                            break;
                                                        case 18:
                                                            return e.abrupt("return", this.x64hash128(t.join("###"), 31));
                                                        case 19:
                                                        case "end":
                                                            return e.stop()
                                                    }
                                                    var n
                                                }, e, this)
                                            }), a = function() {
                                                var t = this,
                                                    n = arguments;
                                                return new __WEBPACK_IMPORTED_MODULE_6_babel_runtime_core_js_promise___default.a(function(r, o) {
                                                    var a = i.apply(t, n);

                                                    function s(t) {
                                                        e(a, r, o, s, c, "next", t)
                                                    }

                                                    function c(t) {
                                                        e(a, r, o, s, c, "throw", t)
                                                    }
                                                    s(void 0)
                                                })
                                            }, function() {
                                                return a.apply(this, arguments)
                                            })
                                        }, {
                                            key: "getUserAgent",
                                            value: function() {
                                                return navigator.userAgent
                                            }
                                        }, {
                                            key: "getNative",
                                            value: function() {
                                                var e = this;
                                                this.getHid().then(function(t) {
                                                    JSInterface.callback(e.version, t, e.getUserAgent())
                                                })
                                            }
                                        }, {
                                            key: "getWebglVendorAndRenderer",
                                            value: function() {
                                                try {
                                                    var e = function() {
                                                            var e = document.createElement("canvas"),
                                                                t = null;
                                                            try {
                                                                t = e.getContext("webgl") || e.getContext("experimental-webgl")
                                                            } catch (e) {}
                                                            return t || null
                                                        }(),
                                                        t = e.getExtension("WEBGL_debug_renderer_info"),
                                                        n = [e.getParameter(t.UNMASKED_VENDOR_WEBGL), e.getParameter(t.UNMASKED_RENDERER_WEBGL)].join("~"),
                                                        r = e.getExtension("WEBGL_lose_context");
                                                    return null != r && r.loseContext(), n
                                                } catch (e) {
                                                    return null
                                                }
                                            }
                                        }, {
                                            key: "getFactor",
                                            value: function() {
                                                return new __WEBPACK_IMPORTED_MODULE_6_babel_runtime_core_js_promise___default.a(function(e, t) {
                                                    var n = window.RTCPeerConnection || window.webkitRTCPeerConnection || window.mozRTCPeerConnection;
                                                    n ? function() {
                                                        var t = new n({
                                                            iceServers: []
                                                        });
                                                        t.createDataChannel("", {
                                                            reliable: !1
                                                        }), t.onicecandidate = function(e) {
                                                            e.candidate && i("a=".concat(e.candidate.candidate))
                                                        }, t.createOffer(function(e) {
                                                            i(e.sdp), t.setLocalDescription(e)
                                                        }, function(e) {});
                                                        var r = __WEBPACK_IMPORTED_MODULE_8_babel_runtime_core_js_object_create___default()(null);

                                                        function o(t) {
                                                            if (!(t in r)) {
                                                                r[t] = !0;
                                                                for (var n = __WEBPACK_IMPORTED_MODULE_5_babel_runtime_core_js_object_keys___default()(r).filter(function(e) {
                                                                        return r[e]
                                                                    }), o = 0; o < n.length; o++) 16 < n[o].length && (n.splice(o, 1), o--);
                                                                e(n[0])
                                                            }
                                                        }

                                                        function i(e) {
                                                            (0 < arguments.length && void 0 !== e ? e : "").split("\r\n").forEach(function(e, t, n) {
                                                                var r, i;
                                                                ~e.indexOf("a=candidate") ? (i = (r = e.split(" "))[4], "host" === r[7] && o(i)) : ~e.indexOf("c=") && o(e.split(" ")[2])
                                                            })
                                                        }
                                                        r["0.0.0.0"] = !1
                                                    }() : e(null)
                                                })
                                            }
                                        }, {
                                            key: "x64hash128",
                                            value: function(e, t) {
                                                for (var n = function(e, t) {
                                                        e = [e[0] >>> 16, 65535 & e[0], e[1] >>> 16, 65535 & e[1]], t = [t[0] >>> 16, 65535 & t[0], t[1] >>> 16, 65535 & t[1]];
                                                        var n = [0, 0, 0, 0];
                                                        return n[3] += e[3] + t[3], n[2] += n[3] >>> 16, n[3] &= 65535, n[2] += e[2] + t[2], n[1] += n[2] >>> 16, n[2] &= 65535, n[1] += e[1] + t[1], n[0] += n[1] >>> 16, n[1] &= 65535, n[0] += e[0] + t[0], n[0] &= 65535, [n[0] << 16 | n[1], n[2] << 16 | n[3]]
                                                    }, r = function(e, t) {
                                                        e = [e[0] >>> 16, 65535 & e[0], e[1] >>> 16, 65535 & e[1]], t = [t[0] >>> 16, 65535 & t[0], t[1] >>> 16, 65535 & t[1]];
                                                        var n = [0, 0, 0, 0];
                                                        return n[3] += e[3] * t[3], n[2] += n[3] >>> 16, n[3] &= 65535, n[2] += e[2] * t[3], n[1] += n[2] >>> 16, n[2] &= 65535, n[2] += e[3] * t[2], n[1] += n[2] >>> 16, n[2] &= 65535, n[1] += e[1] * t[3], n[0] += n[1] >>> 16, n[1] &= 65535, n[1] += e[2] * t[2], n[0] += n[1] >>> 16, n[1] &= 65535, n[1] += e[3] * t[1], n[0] += n[1] >>> 16, n[1] &= 65535, n[0] += e[0] * t[3] + e[1] * t[2] + e[2] * t[1] + e[3] * t[0], n[0] &= 65535, [n[0] << 16 | n[1], n[2] << 16 | n[3]]
                                                    }, o = function(e, t) {
                                                        return 32 == (t %= 64) ? [e[1], e[0]] : t < 32 ? [e[0] << t | e[1] >>> 32 - t, e[1] << t | e[0] >>> 32 - t] : [e[1] << (t -= 32) | e[0] >>> 32 - t, e[0] << t | e[1] >>> 32 - t]
                                                    }, i = function(e, t) {
                                                        return 0 == (t %= 64) ? e : t < 32 ? [e[0] << t | e[1] >>> 32 - t, e[1] << t] : [e[1] << t - 32, 0]
                                                    }, a = function(e, t) {
                                                        return [e[0] ^ t[0], e[1] ^ t[1]]
                                                    }, s = function(e) {
                                                        return e = a(e, [0, e[0] >>> 1]), e = r(e, [4283543511, 3981806797]), e = a(e, [0, e[0] >>> 1]), e = r(e, [3301882366, 444984403]), a(e, [0, e[0] >>> 1])
                                                    }, c = (e = e || "").length % 16, u = e.length - c, l = [0, t = t || 0], d = [0, t], f = [0, 0], p = [0, 0], h = [2277735313, 289559509], _ = [1291169091, 658871167], m = 0; m < u; m += 16) f = [255 & e.charCodeAt(m + 4) | (255 & e.charCodeAt(m + 5)) << 8 | (255 & e.charCodeAt(m + 6)) << 16 | (255 & e.charCodeAt(m + 7)) << 24, 255 & e.charCodeAt(m) | (255 & e.charCodeAt(m + 1)) << 8 | (255 & e.charCodeAt(m + 2)) << 16 | (255 & e.charCodeAt(m + 3)) << 24], p = [255 & e.charCodeAt(m + 12) | (255 & e.charCodeAt(m + 13)) << 8 | (255 & e.charCodeAt(m + 14)) << 16 | (255 & e.charCodeAt(m + 15)) << 24, 255 & e.charCodeAt(m + 8) | (255 & e.charCodeAt(m + 9)) << 8 | (255 & e.charCodeAt(m + 10)) << 16 | (255 & e.charCodeAt(m + 11)) << 24], f = o(f = r(f, h), 31), f = r(f, _), l = n(l = o(l = a(l, f), 27), d), l = n(r(l, [0, 5]), [0, 1390208809]), p = o(p = r(p, _), 33), p = r(p, h), d = n(d = o(d = a(d, p), 31), l), d = n(r(d, [0, 5]), [0, 944331445]);
                                                switch (f = [0, 0], p = [0, 0], c) {
                                                    case 15:
                                                        p = a(p, i([0, e.charCodeAt(m + 14)], 48));
                                                    case 14:
                                                        p = a(p, i([0, e.charCodeAt(m + 13)], 40));
                                                    case 13:
                                                        p = a(p, i([0, e.charCodeAt(m + 12)], 32));
                                                    case 12:
                                                        p = a(p, i([0, e.charCodeAt(m + 11)], 24));
                                                    case 11:
                                                        p = a(p, i([0, e.charCodeAt(m + 10)], 16));
                                                    case 10:
                                                        p = a(p, i([0, e.charCodeAt(m + 9)], 8));
                                                    case 9:
                                                        p = a(p, [0, e.charCodeAt(m + 8)]), p = o(p = r(p, _), 33), p = r(p, h), d = a(d, p);
                                                    case 8:
                                                        f = a(f, i([0, e.charCodeAt(m + 7)], 56));
                                                    case 7:
                                                        f = a(f, i([0, e.charCodeAt(m + 6)], 48));
                                                    case 6:
                                                        f = a(f, i([0, e.charCodeAt(m + 5)], 40));
                                                    case 5:
                                                        f = a(f, i([0, e.charCodeAt(m + 4)], 32));
                                                    case 4:
                                                        f = a(f, i([0, e.charCodeAt(m + 3)], 24));
                                                    case 3:
                                                        f = a(f, i([0, e.charCodeAt(m + 2)], 16));
                                                    case 2:
                                                        f = a(f, i([0, e.charCodeAt(m + 1)], 8));
                                                    case 1:
                                                        f = a(f, [e.charCodeAt(m)]), f = o(f = r(f, h), 31), f = r(f, _), l = a(l, f)
                                                }
                                                return l = a(l, [0, e.length]), d = n(d = a(d, [0, e.length]), l = n(l, d)), l = s(l), d = n(d = s(d), l = n(l, d)), ("00000000" + (l[0] >>> 0).toString(16)).slice(-8) + ("00000000" + (l[1] >>> 0).toString(16)).slice(-8) + ("00000000" + (d[0] >>> 0).toString(16)).slice(-8) + ("00000000" + (d[1] >>> 0).toString(16)).slice(-8)
                                            }
                                        }]) && function(e, t) {
                                            for (var n = 0; n < t.length; n++) {
                                                var r = t[n];
                                                r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), __WEBPACK_IMPORTED_MODULE_11_babel_runtime_core_js_object_define_property___default()(e, r.key, r)
                                            }
                                        }(r.prototype, o), t
                                    }()
                                }(), X.exports),
                                V = "logid_start",
                                Q = "4.5.6-web";
                            return function(n) {
                                function r(e) {
                                    var t = n.call(this, e) || this;
                                    t.qimei36 = "", t.uselessCycleTaskNum = 0, t.underWeakNet = !1, t.send = function(e, n, r) {
                                        t.storage.setItem(c, Date.now().toString()), t.network.post(t.uploadUrl || t.strategy.getUploadUrl(), e.data).then(function(r) {
                                            var o;
                                            100 == (null === (o = null == r ? void 0 : r.data) || void 0 === o ? void 0 : o.result) ? t.delayTime = 1e3 * r.data.delayTime : t.delayTime = 0, n && n(e.data), e.data.events.forEach(function(e) {
                                                t.store.removeEvent(e).then(function() {
                                                    t.removeSendingId(_(e.mapValue))
                                                })
                                            }), t.doCustomCycleTask()
                                        }).catch(function(n) {
                                            var o = e.data.events;
                                            t.errorReport.reportError(n.code ? n.code.toString() : "600", n.message), r && r(e.data);
                                            var i = JSON.parse(t.storage.getItem(u));
                                            o.forEach(function(e) {
                                                i && -1 != i.indexOf(_(e)) && t.store.insertEvent(e, function(e, n) {
                                                    e && t.errorReport.reportError("604", "insertEvent fail!")
                                                }), t.removeSendingId(_(e))
                                            }), t.monitorUploadFailed()
                                        })
                                    };
                                    var r, o, i = E();
                                    return t.isUnderIE8 = i > 0 && i < 8, t.isUnderIE8 || (t.isUnderIE = i > 0, e.needInitQimei && t.initQimei(e.appkey), t.network = new W(e), t.storage = new z(e.appkey), t.initCommonInfo(e), t.store = new A(e.appkey, t.storage), t.errorReport = new y(t.config, t.commonInfo, "web", t.network), t.strategy = new v(t.config, t.commonInfo, t.storage, t.network), t.logidStartTime = t.storage.getItem(V), t.logidStartTime || (t.logidStartTime = Date.now().toString(), t.storage.setItem(V, t.logidStartTime)), r = t.logidStartTime, o = Date.now() - __WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_number_parse_float___default()(r), Math.floor(o / 864e5) >= 365 && t.storage.clear(), t.initSession(e), t.onDirectUserAction("rqd_js_init", {}), setTimeout(function() {
                                        return t.lifeCycle.emit("init")
                                    }, 0), t.initDelayTime = e.delay ? e.delay : 1e3, t.cycleTask(t.initDelayTime)), t
                                }
                                return function(t, n) {
                                    if ("function" != typeof n && null !== n) throw new TypeError("Class extends value " + String(n) + " is not a constructor or null");

                                    function r() {
                                        this.constructor = t
                                    }
                                    e(t, n), t.prototype = null === n ? __WEBPACK_IMPORTED_MODULE_8_babel_runtime_core_js_object_create___default()(n) : (r.prototype = n.prototype, new r)
                                }(r, n), r.prototype.initQimei = function(e) {
                                    var t = this;
                                    (new G).getQimei36(e, function(e) {
                                        t.qimei36 = e.q36
                                    })
                                }, r.prototype.initSession = function(e) {
                                    var t = 18e5;
                                    e.sessionDuration && e.sessionDuration > 3e4 && (t = e.sessionDuration), this.beaconSession = new C(this.storage, t, this)
                                }, r.prototype.initCommonInfo = function(e) {
                                    var t = Number(this.storage.getItem(c));
                                    try {
                                        var n = JSON.parse(this.storage.getItem(u));
                                        (Date.now() - t > 3e4 || !n) && this.storage.setItem(u, __WEBPACK_IMPORTED_MODULE_3_babel_runtime_core_js_json_stringify___default()([]))
                                    } catch (e) {}
                                    e.uploadUrl && (this.uploadUrl = e.uploadUrl + "?appkey=" + e.appkey);
                                    var r = [window.screen.width, window.screen.height];
                                    window.devicePixelRatio && r.push(window.devicePixelRatio), this.commonInfo = {
                                        deviceId: this.storage.createDeviceId(),
                                        language: navigator && navigator.language || "zh_CN",
                                        query: window.location.search,
                                        userAgent: navigator.userAgent,
                                        pixel: r.join("*"),
                                        channelID: e.channelID ? String(e.channelID) : "",
                                        openid: e.openid ? String(e.openid) : "",
                                        unid: e.unionid ? String(e.unionid) : "",
                                        sdkVersion: Q
                                    }, this.config.appVersion = e.versionCode ? String(e.versionCode) : "", this.config.strictMode = e.strictMode
                                }, r.prototype.cycleTask = function(e) {
                                    var t = this;
                                    this.intervalID = window.setInterval(function() {
                                        t.store.getEvents().then(function(e) {
                                            var n = [],
                                                r = JSON.parse(t.storage.getItem(u));
                                            r || (r = []), e && e.forEach(function(e) {
                                                var t = _(e.mapValue); - 1 == r.indexOf(t) && (n.push(e), r.push(t))
                                            }), 0 != n.length && (t.storage.setItem(u, __WEBPACK_IMPORTED_MODULE_3_babel_runtime_core_js_json_stringify___default()(r)), t._normalLogPipeline(t.assembleData(n)))
                                        }).catch(function(e) {})
                                    }, e)
                                }, r.prototype.onReport = function(e, t, n) {
                                    var r = this;
                                    if (this.isUnderIE8) this.errorReport.reportError("601", "UnderIE8");
                                    else {
                                        var o = this.generateData(e, t, n);
                                        if (n && 0 == this.delayTime && !this.underWeakNet) this._normalLogPipeline(this.assembleData(o));
                                        else {
                                            var i = o.shift();
                                            i && this.store.insertEvent(i, function(e) {
                                                e && r.errorReport.reportError("604", "insertEvent fail!")
                                            }).catch(function(e) {
                                                r._normalLogPipeline(r.assembleData(o))
                                            })
                                        }
                                    }
                                }, r.prototype.onSendBeacon = function(e, t) {
                                    if (this.isUnderIE) this.errorReport.reportError("605", "UnderIE");
                                    else {
                                        var n = this.assembleData(this.generateData(e, t, !0));
                                        "function" == typeof navigator.sendBeacon && navigator.sendBeacon(this.uploadUrl || this.strategy.getUploadUrl(), __WEBPACK_IMPORTED_MODULE_3_babel_runtime_core_js_json_stringify___default()(n))
                                    }
                                }, r.prototype.generateData = function(e, n, r) {
                                    var o = [],
                                        i = "4.5.6-web_" + (r ? "direct_log_id" : "normal_log_id"),
                                        a = Number(this.storage.getItem(i));
                                    return a = a || 1, n = t(t({}, n), {
                                        A99: r ? "Y" : "N",
                                        A100: a.toString(),
                                        A72: Q,
                                        A88: this.logidStartTime
                                    }), a++, this.storage.setItem(i, a.toString()), o.push({
                                        eventCode: e,
                                        eventTime: Date.now().toString(),
                                        mapValue: p(n, this.config.strictMode)
                                    }), o
                                }, r.prototype.assembleData = function(e) {
                                    var n = this.beaconSession.getSession();
                                    return {
                                        appVersion: this.config.appVersion ? h(this.config.appVersion) : "",
                                        sdkId: "js",
                                        sdkVersion: Q,
                                        mainAppKey: this.config.appkey,
                                        platformId: 3,
                                        common: p(t(t({}, this.additionalParams), {
                                            A2: this.commonInfo.deviceId,
                                            A8: this.commonInfo.openid,
                                            A12: this.commonInfo.language,
                                            A17: this.commonInfo.pixel,
                                            A23: this.commonInfo.channelID,
                                            A50: this.commonInfo.unid,
                                            A76: n.sessionId,
                                            A101: this.commonInfo.userAgent,
                                            A102: window.location.href,
                                            A104: document.referrer,
                                            A119: this.commonInfo.query,
                                            A153: this.qimei36
                                        }), !1),
                                        events: e
                                    }
                                }, r.prototype.monitorUploadFailed = function() {
                                    this.uselessCycleTaskNum++, this.uselessCycleTaskNum >= 5 && (window.clearInterval(this.intervalID), this.cycleTask(6e4), this.underWeakNet = !0)
                                }, r.prototype.doCustomCycleTask = function() {
                                    this.uselessCycleTaskNum >= 5 && (window.clearInterval(this.intervalID), this.cycleTask(this.initDelayTime)), this.uselessCycleTaskNum = 0, this.underWeakNet = !1
                                }, r
                            }(g)
                        }, "object" == s(t) && void 0 !== e ? e.exports = a() : void 0 === (i = "function" == typeof(o = a) ? o.call(t, n, t, e) : o) || (e.exports = i)
                    }).call(this, n(4))
                }, function(e, t, n) {
                    var r = n(10),
                        o = n(1),
                        i = {};
                    e.exports.transferToTaskMethod = function(e, t) {
                        i[t] = e[t], e[t] = function(e, n) {
                            e.SkipTask ? i[t].call(this, e, n) : this._addTask(t, e, n)
                        }
                    }, e.exports.init = function(e) {
                        var t, n, a = [],
                            s = {},
                            c = 0,
                            u = 0,
                            l = function(e) {
                                var t = {
                                    id: e.id,
                                    Bucket: e.Bucket,
                                    Region: e.Region,
                                    Key: e.Key,
                                    FilePath: e.FilePath,
                                    state: e.state,
                                    loaded: e.loaded,
                                    size: e.size,
                                    speed: e.speed,
                                    percent: e.percent,
                                    hashPercent: e.hashPercent,
                                    error: e.error
                                };
                                return e.FilePath && (t.FilePath = e.FilePath), e._custom && (t._custom = e._custom), t
                            },
                            d = (n = function() {
                                t = 0, e.emit("task-list-update", {
                                    list: o.map(a, l)
                                }), e.emit("list-update", {
                                    list: o.map(a, l)
                                })
                            }, function() {
                                t || (t = setTimeout(n))
                            }),
                            f = function() {
                                if (!(a.length <= e.options.UploadQueueSize)) {
                                    for (var t = 0; t < u && t < a.length && a.length > e.options.UploadQueueSize;) {
                                        var n = "waiting" === a[t].state || "checking" === a[t].state || "uploading" === a[t].state;
                                        a[t] && n ? t++ : (s[a[t].id] && delete s[a[t].id], a.splice(t, 1), u--)
                                    }
                                    d()
                                }
                            },
                            p = function t() {
                                if (!(c >= e.options.FileParallelLimit)) {
                                    for (; a[u] && "waiting" !== a[u].state;) u++;
                                    if (!(u >= a.length)) {
                                        var n = a[u];
                                        u++, c++, n.state = "checking", n.params.onTaskStart && n.params.onTaskStart(l(n)), !n.params.UploadData && (n.params.UploadData = {});
                                        var r = o.formatParams(n.api, n.params);
                                        i[n.api].call(e, r, function(r, o) {
                                            e._isRunningTask(n.id) && ("checking" !== n.state && "uploading" !== n.state || (n.state = r ? "error" : "success", r && (n.error = r), c--, d(), t(), n.callback && n.callback(r, o), "success" === n.state && (n.params && (delete n.params.UploadData, delete n.params.Body, delete n.params), delete n.callback)), f())
                                        }), d(), setTimeout(t)
                                    }
                                }
                            },
                            h = function(t, n) {
                                var o = s[t];
                                if (o) {
                                    var i = o && "waiting" === o.state,
                                        a = o && ("checking" === o.state || "uploading" === o.state);
                                    if ("canceled" === n && "canceled" !== o.state || "paused" === n && i || "paused" === n && a) {
                                        if ("paused" === n && o.params.Body && "function" == typeof o.params.Body.pipe) return;
                                        o.state = n, e.emit("inner-kill-task", {
                                            TaskId: t,
                                            toState: n
                                        });
                                        try {
                                            var u = o && o.params && o.params.UploadData.UploadId
                                        } catch (e) {}
                                        "canceled" === n && u && r.removeUsing(u), d(), a && (c--, p()), "canceled" === n && (o.params && (delete o.params.UploadData, delete o.params.Body, delete o.params), delete o.callback)
                                    }
                                    f()
                                }
                            };
                        e._addTasks = function(t) {
                            o.each(t, function(t) {
                                e._addTask(t.api, t.params, t.callback, !0)
                            }), d()
                        }, e._addTask = function(t, n, r, i) {
                            n = o.formatParams(t, n);
                            var c = o.uuid();
                            n.TaskId = c, n.onTaskReady && n.onTaskReady(c), n.TaskReady && n.TaskReady(c);
                            var u = {
                                    params: n,
                                    callback: r,
                                    api: t,
                                    index: a.length,
                                    id: c,
                                    Bucket: n.Bucket,
                                    Region: n.Region,
                                    Key: n.Key,
                                    FilePath: n.FilePath || "",
                                    state: "waiting",
                                    loaded: 0,
                                    size: 0,
                                    speed: 0,
                                    percent: 0,
                                    hashPercent: 0,
                                    error: null,
                                    _custom: n._custom
                                },
                                l = n.onHashProgress;
                            n.onHashProgress = function(t) {
                                e._isRunningTask(u.id) && (u.hashPercent = t.percent, l && l(t), d())
                            };
                            var h = n.onProgress;
                            return n.onProgress = function(t) {
                                e._isRunningTask(u.id) && ("checking" === u.state && (u.state = "uploading"), u.loaded = t.loaded, u.speed = t.speed, u.percent = t.percent, h && h(t), d())
                            }, o.getFileSize(t, n, function(e, t) {
                                if (e) return r(o.error(e));
                                s[c] = u, a.push(u), u.size = t, !i && d(), p(), f()
                            }), c
                        }, e._isRunningTask = function(e) {
                            var t = s[e];
                            return !(!t || "checking" !== t.state && "uploading" !== t.state)
                        }, e.getTaskList = function() {
                            return o.map(a, l)
                        }, e.cancelTask = function(e) {
                            h(e, "canceled")
                        }, e.pauseTask = function(e) {
                            h(e, "paused")
                        }, e.restartTask = function(e) {
                            var t = s[e];
                            !t || "paused" !== t.state && "error" !== t.state || (t.state = "waiting", d(), u = Math.min(u, t.index), p())
                        }, e.isUploadRunning = function() {
                            return c || u < a.length
                        }
                    }
                }, function(e, t, n) {
                    var r = n(27),
                        o = n(1);

                    function i(e) {
                        var t = {
                                GrantFullControl: [],
                                GrantWrite: [],
                                GrantRead: [],
                                GrantReadAcp: [],
                                GrantWriteAcp: [],
                                ACL: ""
                            },
                            n = {
                                FULL_CONTROL: "GrantFullControl",
                                WRITE: "GrantWrite",
                                READ: "GrantRead",
                                READ_ACP: "GrantReadAcp",
                                WRITE_ACP: "GrantWriteAcp"
                            },
                            r = (e && e.AccessControlList || {}).Grant;
                        r && (r = o.isArray(r) ? r : [r]);
                        var i = {
                            READ: 0,
                            WRITE: 0,
                            FULL_CONTROL: 0
                        };
                        return r && r.length && o.each(r, function(r) {
                            "qcs::cam::anyone:anyone" === r.Grantee.ID || "http://cam.qcloud.com/groups/global/AllUsers" === r.Grantee.URI ? i[r.Permission] = 1 : r.Grantee.ID !== e.Owner.ID && t[n[r.Permission]].push('id="' + r.Grantee.ID + '"')
                        }), i.FULL_CONTROL || i.WRITE && i.READ ? t.ACL = "public-read-write" : i.READ ? t.ACL = "public-read" : t.ACL = "private", o.each(n, function(e) {
                            t[e] = a(t[e].join(","))
                        }), t
                    }

                    function a(e) {
                        var t, n, r = e.split(","),
                            o = {};
                        for (t = 0; t < r.length;) o[n = r[t].trim()] ? r.splice(t, 1) : (o[n] = !0, r[t] = n, t++);
                        return r.join(",")
                    }

                    function s(e) {
                        var t = e.region || "",
                            n = e.bucket || "",
                            r = n.substr(0, n.lastIndexOf("-")),
                            i = n.substr(n.lastIndexOf("-") + 1),
                            a = e.domain,
                            s = e.object;
                        "function" == typeof a && (a = a({
                            Bucket: n,
                            Region: t
                        }));
                        var c = e.protocol || (o.isBrowser && "http:" === location.protocol ? "http:" : "https:");
                        a || (a = ["cn-south", "cn-south-2", "cn-north", "cn-east", "cn-southwest", "sg"].indexOf(t) > -1 ? "{Region}.myqcloud.com" : "cos.{Region}.myqcloud.com", e.ForcePathStyle || (a = "{Bucket}." + a)), a = (a = a.replace(/\{\{AppId\}\}/gi, i).replace(/\{\{Bucket\}\}/gi, r).replace(/\{\{Region\}\}/gi, t).replace(/\{\{.*?\}\}/gi, "")).replace(/\{AppId\}/gi, i).replace(/\{BucketName\}/gi, r).replace(/\{Bucket\}/gi, n).replace(/\{Region\}/gi, t).replace(/\{.*?\}/gi, ""), /^[a-zA-Z]+:\/\//.test(a) || (a = c + "//" + a), "/" === a.slice(-1) && (a = a.slice(0, -1));
                        var u = a;
                        return e.ForcePathStyle && (u += "/" + n), u += "/", s && (u += o.camSafeUrlEncode(s).replace(/%2F/g, "/")), e.isLocation && (u = u.replace(/^https?:\/\//, "")), u
                    }
                    var c = function(e) {
                        if (!e.Bucket || !e.Region) return "";
                        var t = void 0 === e.UseAccelerate ? this.options.UseAccelerate : e.UseAccelerate,
                            n = (e.Url || s({
                                ForcePathStyle: this.options.ForcePathStyle,
                                protocol: this.options.Protocol,
                                domain: this.options.Domain,
                                bucket: e.Bucket,
                                region: t ? "accelerate" : e.Region
                            })).replace(/^https?:\/\/([^/]+)(\/.*)?$/, "$1");
                        return new RegExp("^([a-z\\d-]+-\\d+\\.)?(cos|cosv6|ci|pic)\\.([a-z\\d-]+)\\.myqcloud\\.com$").test(n) ? n : ""
                    };

                    function u(e, t) {
                        var n = o.clone(e.Headers),
                            r = "";
                        o.each(n, function(e, t) {
                            ("" === e || ["content-type", "cache-control", "expires"].indexOf(t.toLowerCase()) > -1) && delete n[t], "host" === t.toLowerCase() && (r = e)
                        });
                        var i = !1 !== e.ForceSignHost;
                        !r && e.SignHost && i && (n.Host = e.SignHost);
                        var a = !1,
                            s = function(e, n) {
                                a || (a = !0, n && n.XCosSecurityToken && !n.SecurityToken && ((n = o.clone(n)).SecurityToken = n.XCosSecurityToken, delete n.XCosSecurityToken), t && t(e, n))
                            },
                            c = this,
                            u = e.Bucket || "",
                            l = e.Region || "",
                            d = e.Key || "";
                        c.options.ForcePathStyle && u && (d = u + "/" + d);
                        var f = "/" + d,
                            p = {},
                            h = e.Scope;
                        if (!h) {
                            var _ = e.Action || "",
                                m = e.ResourceKey || e.Key || "";
                            h = e.Scope || [{
                                action: _,
                                bucket: u,
                                region: l,
                                prefix: m
                            }]
                        }
                        var g = o.md5(__WEBPACK_IMPORTED_MODULE_3_babel_runtime_core_js_json_stringify___default()(h));
                        c._StsCache = c._StsCache || [],
                            function() {
                                var e, t;
                                for (e = c._StsCache.length - 1; e >= 0; e--) {
                                    t = c._StsCache[e];
                                    var n = Math.round(o.getSkewTime(c.options.SystemClockOffset) / 1e3) + 30;
                                    if (t.StartTime && n < t.StartTime || n >= t.ExpiredTime) c._StsCache.splice(e, 1);
                                    else if (!t.ScopeLimit || t.ScopeLimit && t.ScopeKey === g) {
                                        p = t;
                                        break
                                    }
                                }
                            }();
                        var y, v = function() {
                                var t = "";
                                p.StartTime && e.Expires ? t = p.StartTime + ";" + (p.StartTime + 1 * e.Expires) : p.StartTime && p.ExpiredTime && (t = p.StartTime + ";" + p.ExpiredTime);
                                var r = {
                                    Authorization: o.getAuth({
                                        SecretId: p.TmpSecretId,
                                        SecretKey: p.TmpSecretKey,
                                        Method: e.Method,
                                        Pathname: f,
                                        Query: e.Query,
                                        Headers: n,
                                        Expires: e.Expires,
                                        UseRawKey: c.options.UseRawKey,
                                        SystemClockOffset: c.options.SystemClockOffset,
                                        KeyTime: t,
                                        ForceSignHost: i
                                    }),
                                    SecurityToken: p.SecurityToken || p.XCosSecurityToken || "",
                                    Token: p.Token || "",
                                    ClientIP: p.ClientIP || "",
                                    ClientUA: p.ClientUA || ""
                                };
                                s(null, r)
                            },
                            b = function(e) {
                                if (e.Authorization) {
                                    var t = !1,
                                        n = e.Authorization;
                                    if (n)
                                        if (n.indexOf(" ") > -1) t = !1;
                                        else if (n.indexOf("q-sign-algorithm=") > -1 && n.indexOf("q-ak=") > -1 && n.indexOf("q-sign-time=") > -1 && n.indexOf("q-key-time=") > -1 && n.indexOf("q-url-param-list=") > -1) t = !0;
                                    else try {
                                        (n = atob(n)).indexOf("a=") > -1 && n.indexOf("k=") > -1 && n.indexOf("t=") > -1 && n.indexOf("r=") > -1 && n.indexOf("b=") > -1 && (t = !0)
                                    } catch (e) {}
                                    if (!t) return o.error(new Error("getAuthorization callback params format error"))
                                } else {
                                    if (!e.TmpSecretId) return o.error(new Error('getAuthorization callback params missing "TmpSecretId"'));
                                    if (!e.TmpSecretKey) return o.error(new Error('getAuthorization callback params missing "TmpSecretKey"'));
                                    if (!e.SecurityToken && !e.XCosSecurityToken) return o.error(new Error('getAuthorization callback params missing "SecurityToken"'));
                                    if (!e.ExpiredTime) return o.error(new Error('getAuthorization callback params missing "ExpiredTime"'));
                                    if (e.ExpiredTime && 10 !== e.ExpiredTime.toString().length) return o.error(new Error('getAuthorization callback params "ExpiredTime" should be 10 digits'));
                                    if (e.StartTime && 10 !== e.StartTime.toString().length) return o.error(new Error('getAuthorization callback params "StartTime" should be 10 StartTime'))
                                }
                                return !1
                            };
                        if (p.ExpiredTime && p.ExpiredTime - o.getSkewTime(c.options.SystemClockOffset) / 1e3 > 60) v();
                        else if (c.options.getAuthorization) c.options.getAuthorization.call(c, {
                            Bucket: u,
                            Region: l,
                            Method: e.Method,
                            Key: d,
                            Pathname: f,
                            Query: e.Query,
                            Headers: n,
                            Scope: h,
                            SystemClockOffset: c.options.SystemClockOffset,
                            ForceSignHost: i
                        }, function(e) {
                            "string" == typeof e && (e = {
                                Authorization: e
                            });
                            var t = b(e);
                            if (t) return s(t);
                            e.Authorization ? s(null, e) : ((p = e || {}).Scope = h, p.ScopeKey = g, c._StsCache.push(p), v())
                        });
                        else {
                            if (!c.options.getSTS) return y = {
                                Authorization: o.getAuth({
                                    SecretId: e.SecretId || c.options.SecretId,
                                    SecretKey: e.SecretKey || c.options.SecretKey,
                                    Method: e.Method,
                                    Pathname: f,
                                    Query: e.Query,
                                    Headers: n,
                                    Expires: e.Expires,
                                    UseRawKey: c.options.UseRawKey,
                                    SystemClockOffset: c.options.SystemClockOffset,
                                    ForceSignHost: i
                                }),
                                SecurityToken: c.options.SecurityToken || c.options.XCosSecurityToken
                            }, s(null, y), y;
                            c.options.getSTS.call(c, {
                                Bucket: u,
                                Region: l
                            }, function(e) {
                                (p = e || {}).Scope = h, p.ScopeKey = g, p.TmpSecretId || (p.TmpSecretId = p.SecretId), p.TmpSecretKey || (p.TmpSecretKey = p.SecretKey);
                                var t = b(p);
                                if (t) return s(t);
                                c._StsCache.push(p), v()
                            })
                        }
                        return ""
                    }

                    function l(e) {
                        var t = !1,
                            n = !1,
                            r = e.headers && (e.headers.date || e.headers.Date) || e.error && e.error.ServerTime;
                        try {
                            var i = e.error.Code,
                                a = e.error.Message;
                            ("RequestTimeTooSkewed" === i || "AccessDenied" === i && "Request has expired" === a) && (n = !0)
                        } catch (e) {}
                        if (e)
                            if (n && r) {
                                var s = Date.parse(r);
                                this.options.CorrectClockSkew && Math.abs(o.getSkewTime(this.options.SystemClockOffset) - s) >= 3e4 && (this.options.SystemClockOffset = s - Date.now(), t = !0)
                            } else 5 === Math.floor(e.statusCode / 100) && (t = !0);
                        return t
                    }

                    function d(e, t) {
                        var n = this;
                        !e.headers && (e.headers = {}), !e.qs && (e.qs = {}), e.VersionId && (e.qs.versionId = e.VersionId), e.qs = o.clearKey(e.qs), e.headers && (e.headers = o.clearKey(e.headers)), e.qs && (e.qs = o.clearKey(e.qs));
                        var r = o.clone(e.qs);
                        e.action && (r[e.action] = "");
                        var i = e.url || e.Url,
                            a = e.SignHost || c.call(this, {
                                Bucket: e.Bucket,
                                Region: e.Region,
                                Url: i
                            }),
                            s = e.tracker;
                        ! function o(i) {
                            var c = n.options.SystemClockOffset;
                            s && s.setParams({
                                signStartTime: (new Date).getTime(),
                                retryTimes: i - 1
                            }), u.call(n, {
                                Bucket: e.Bucket || "",
                                Region: e.Region || "",
                                Method: e.method,
                                Key: e.Key,
                                Query: r,
                                Headers: e.headers,
                                SignHost: a,
                                Action: e.Action,
                                ResourceKey: e.ResourceKey,
                                Scope: e.Scope,
                                ForceSignHost: n.options.ForceSignHost
                            }, function(r, a) {
                                r ? t(r) : (s && s.setParams({
                                    signEndTime: (new Date).getTime(),
                                    httpStartTime: (new Date).getTime()
                                }), e.AuthData = a, f.call(n, e, function(r, a) {
                                    s && s.setParams({
                                        httpEndTime: (new Date).getTime()
                                    }), r && i < 2 && (c !== n.options.SystemClockOffset || l.call(n, r)) ? (e.headers && (delete e.headers.Authorization, delete e.headers.token, delete e.headers.clientIP, delete e.headers.clientUA, e.headers["x-cos-security-token"] && delete e.headers["x-cos-security-token"], e.headers["x-ci-security-token"] && delete e.headers["x-ci-security-token"]), o(i + 1)) : t(r, a)
                                }))
                            })
                        }(1)
                    }

                    function f(e, t) {
                        var n = this,
                            i = e.TaskId;
                        if (!i || n._isRunningTask(i)) {
                            var a = e.Bucket,
                                c = e.Region,
                                u = e.Key,
                                l = e.method || "GET",
                                d = e.Url || e.url,
                                f = e.body,
                                p = e.rawBody;
                            n.options.UseAccelerate && (c = "accelerate"), d = d || s({
                                ForcePathStyle: n.options.ForcePathStyle,
                                protocol: n.options.Protocol,
                                domain: n.options.Domain,
                                bucket: a,
                                region: c,
                                object: u
                            }), e.action && (d = d + "?" + e.action), e.qsStr && (d = d.indexOf("?") > -1 ? d + "&" + e.qsStr : d + "?" + e.qsStr);
                            var h = {
                                    method: l,
                                    url: d,
                                    headers: e.headers,
                                    qs: e.qs,
                                    body: f
                                },
                                _ = "x-cos-security-token";
                            if (o.isCIHost(d) && (_ = "x-ci-security-token"), h.headers.Authorization = e.AuthData.Authorization, e.AuthData.Token && (h.headers.token = e.AuthData.Token), e.AuthData.ClientIP && (h.headers.clientIP = e.AuthData.ClientIP), e.AuthData.ClientUA && (h.headers.clientUA = e.AuthData.ClientUA), e.AuthData.SecurityToken && (h.headers[_] = e.AuthData.SecurityToken), h.headers && (h.headers = o.clearKey(h.headers)), h = o.clearKey(h), e.onProgress && "function" == typeof e.onProgress) {
                                var m = f && (f.size || f.length) || 0;
                                h.onProgress = function(t) {
                                    if (!i || n._isRunningTask(i)) {
                                        var r = t ? t.loaded : 0;
                                        e.onProgress({
                                            loaded: r,
                                            total: m
                                        })
                                    }
                                }
                            }
                            e.onDownloadProgress && (h.onDownloadProgress = e.onDownloadProgress), e.DataType && (h.dataType = e.DataType), this.options.Timeout && (h.timeout = this.options.Timeout), n.options.ForcePathStyle && (h.pathStyle = n.options.ForcePathStyle), n.emit("before-send", h);
                            var g = h.url.includes("accelerate."),
                                y = h.qs ? __WEBPACK_IMPORTED_MODULE_5_babel_runtime_core_js_object_keys___default()(h.qs).map(function(e) {
                                    return "".concat(e, "=").concat(h.qs[e])
                                }).join("&") : "",
                                v = y ? h.url + "?" + y : h.url;
                            e.tracker && e.tracker.setParams({
                                reqUrl: v,
                                accelerate: g ? "Y" : "N"
                            }), e.tracker && e.tracker.parent && e.tracker.parent.setParams({
                                reqUrl: v,
                                accelerate: g ? "Y" : "N"
                            });
                            var b = (n.options.Request || r)(h, function(e) {
                                    if ("abort" !== e.error) {
                                        var r = {
                                            options: h,
                                            error: c,
                                            statusCode: s && s.statusCode || 0,
                                            headers: s && s.headers || {},
                                            body: u
                                        };
                                        n.emit("after-receive", r), c = r.error, u = r.body, s = {
                                            statusCode: r.statusCode,
                                            headers: r.headers
                                        }, n.emit("after-receive", e);
                                        var a, s = {
                                                statusCode: e.statusCode,
                                                statusMessage: e.statusMessage,
                                                headers: e.headers
                                            },
                                            c = e.error,
                                            u = e.body,
                                            l = function(e, r) {
                                                if (i && n.off("inner-kill-task", C), !a) {
                                                    a = !0;
                                                    var c = {};
                                                    s && s.statusCode && (c.statusCode = s.statusCode), s && s.headers && (c.headers = s.headers), e ? (e = o.extend(e || {}, c), t(e, null)) : (r = o.extend(r || {}, c), t(null, r)), b = null
                                                }
                                            };
                                        if (c) return l(o.error(c));
                                        var d, f = s.statusCode,
                                            _ = 2 === Math.floor(f / 100);
                                        if (p && _) return l(null, {
                                            body: u
                                        });
                                        try {
                                            d = u && u.indexOf("<") > -1 && u.indexOf(">") > -1 && o.xml2json(u) || {}
                                        } catch (e) {
                                            d = {}
                                        }
                                        var m = d && d.Error;
                                        _ ? l(null, d) : m ? l(o.error(new Error(m.Message), {
                                            code: m.Code,
                                            error: m
                                        })) : f ? l(o.error(new Error(s.statusMessage), {
                                            code: "" + f
                                        })) : f && l(o.error(new Error("statusCode error")))
                                    }
                                }),
                                C = function e(t) {
                                    t.TaskId === i && (b && b.abort && b.abort(), n.off("inner-kill-task", e))
                                };
                            i && n.on("inner-kill-task", C)
                        }
                    }
                    var p = {
                        getService: function(e, t) {
                            "function" == typeof e && (t = e, e = {});
                            var n = this.options.Protocol || (o.isBrowser && "http:" === location.protocol ? "http:" : "https:"),
                                r = this.options.ServiceDomain,
                                i = e.AppId || this.options.appId,
                                a = e.Region;
                            r ? (r = r.replace(/\{\{AppId\}\}/gi, i || "").replace(/\{\{Region\}\}/gi, a || "").replace(/\{\{.*?\}\}/gi, ""), /^[a-zA-Z]+:\/\//.test(r) || (r = n + "//" + r), "/" === r.slice(-1) && (r = r.slice(0, -1))) : r = a ? n + "//cos." + a + ".myqcloud.com" : n + "//service.cos.myqcloud.com";
                            var s = "",
                                c = a ? "cos." + a + ".myqcloud.com" : "service.cos.myqcloud.com";
                            c === r.replace(/^https?:\/\/([^/]+)(\/.*)?$/, "$1") && (s = c), d.call(this, {
                                Action: "name/cos:GetService",
                                url: r,
                                method: "GET",
                                headers: e.Headers,
                                SignHost: s
                            }, function(e, n) {
                                if (e) return t(e);
                                var r = n && n.ListAllMyBucketsResult && n.ListAllMyBucketsResult.Buckets && n.ListAllMyBucketsResult.Buckets.Bucket || [];
                                r = o.isArray(r) ? r : [r];
                                var i = n && n.ListAllMyBucketsResult && n.ListAllMyBucketsResult.Owner || {};
                                t(null, {
                                    Buckets: r,
                                    Owner: i,
                                    statusCode: n.statusCode,
                                    headers: n.headers
                                })
                            })
                        },
                        putBucket: function(e, t) {
                            var n = this,
                                r = "";
                            if (e.BucketAZConfig) {
                                var i = {
                                    BucketAZConfig: e.BucketAZConfig
                                };
                                r = o.json2xml({
                                    CreateBucketConfiguration: i
                                })
                            }
                            d.call(this, {
                                Action: "name/cos:PutBucket",
                                method: "PUT",
                                Bucket: e.Bucket,
                                Region: e.Region,
                                headers: e.Headers,
                                body: r
                            }, function(r, o) {
                                if (r) return t(r);
                                var i = s({
                                    protocol: n.options.Protocol,
                                    domain: n.options.Domain,
                                    bucket: e.Bucket,
                                    region: e.Region,
                                    isLocation: !0
                                });
                                t(null, {
                                    Location: i,
                                    statusCode: o.statusCode,
                                    headers: o.headers
                                })
                            })
                        },
                        headBucket: function(e, t) {
                            d.call(this, {
                                Action: "name/cos:HeadBucket",
                                Bucket: e.Bucket,
                                Region: e.Region,
                                headers: e.Headers,
                                method: "HEAD"
                            }, t)
                        },
                        getBucket: function(e, t) {
                            var n = {};
                            n.prefix = e.Prefix || "", n.delimiter = e.Delimiter, n.marker = e.Marker, n["max-keys"] = e.MaxKeys, n["encoding-type"] = e.EncodingType, d.call(this, {
                                Action: "name/cos:GetBucket",
                                ResourceKey: n.prefix,
                                method: "GET",
                                Bucket: e.Bucket,
                                Region: e.Region,
                                headers: e.Headers,
                                qs: n
                            }, function(e, n) {
                                if (e) return t(e);
                                var r = n.ListBucketResult || {},
                                    i = r.Contents || [],
                                    a = r.CommonPrefixes || [];
                                i = o.isArray(i) ? i : [i], a = o.isArray(a) ? a : [a];
                                var s = o.clone(r);
                                o.extend(s, {
                                    Contents: i,
                                    CommonPrefixes: a,
                                    statusCode: n.statusCode,
                                    headers: n.headers
                                }), t(null, s)
                            })
                        },
                        deleteBucket: function(e, t) {
                            d.call(this, {
                                Action: "name/cos:DeleteBucket",
                                Bucket: e.Bucket,
                                Region: e.Region,
                                headers: e.Headers,
                                method: "DELETE"
                            }, function(e, n) {
                                return e && 204 === e.statusCode ? t(null, {
                                    statusCode: e.statusCode
                                }) : e ? t(e) : void t(null, {
                                    statusCode: n.statusCode,
                                    headers: n.headers
                                })
                            })
                        },
                        putBucketAcl: function(e, t) {
                            var n = e.Headers,
                                r = "";
                            if (e.AccessControlPolicy) {
                                var i = o.clone(e.AccessControlPolicy || {}),
                                    s = i.Grants || i.Grant;
                                s = o.isArray(s) ? s : [s], delete i.Grant, delete i.Grants, i.AccessControlList = {
                                    Grant: s
                                }, r = o.json2xml({
                                    AccessControlPolicy: i
                                }), n["Content-Type"] = "application/xml", n["Content-MD5"] = o.binaryBase64(o.md5(r))
                            }
                            o.each(n, function(e, t) {
                                0 === t.indexOf("x-cos-grant-") && (n[t] = a(n[t]))
                            }), d.call(this, {
                                Action: "name/cos:PutBucketACL",
                                method: "PUT",
                                Bucket: e.Bucket,
                                Region: e.Region,
                                headers: n,
                                action: "acl",
                                body: r
                            }, function(e, n) {
                                if (e) return t(e);
                                t(null, {
                                    statusCode: n.statusCode,
                                    headers: n.headers
                                })
                            })
                        },
                        getBucketAcl: function(e, t) {
                            d.call(this, {
                                Action: "name/cos:GetBucketACL",
                                method: "GET",
                                Bucket: e.Bucket,
                                Region: e.Region,
                                headers: e.Headers,
                                action: "acl"
                            }, function(e, n) {
                                if (e) return t(e);
                                var r = n.AccessControlPolicy || {},
                                    a = r.Owner || {},
                                    s = r.AccessControlList.Grant || [];
                                s = o.isArray(s) ? s : [s];
                                var c = i(r);
                                n.headers && n.headers["x-cos-acl"] && (c.ACL = n.headers["x-cos-acl"]), c = o.extend(c, {
                                    Owner: a,
                                    Grants: s,
                                    statusCode: n.statusCode,
                                    headers: n.headers
                                }), t(null, c)
                            })
                        },
                        putBucketCors: function(e, t) {
                            var n = (e.CORSConfiguration || {}).CORSRules || e.CORSRules || [];
                            n = o.clone(o.isArray(n) ? n : [n]), o.each(n, function(e) {
                                o.each(["AllowedOrigin", "AllowedHeader", "AllowedMethod", "ExposeHeader"], function(t) {
                                    var n = t + "s",
                                        r = e[n] || e[t] || [];
                                    delete e[n], e[t] = o.isArray(r) ? r : [r]
                                })
                            });
                            var r = {
                                CORSRule: n
                            };
                            e.ResponseVary && (r.ResponseVary = e.ResponseVary);
                            var i = o.json2xml({
                                    CORSConfiguration: r
                                }),
                                a = e.Headers;
                            a["Content-Type"] = "application/xml", a["Content-MD5"] = o.binaryBase64(o.md5(i)), d.call(this, {
                                Action: "name/cos:PutBucketCORS",
                                method: "PUT",
                                Bucket: e.Bucket,
                                Region: e.Region,
                                body: i,
                                action: "cors",
                                headers: a
                            }, function(e, n) {
                                if (e) return t(e);
                                t(null, {
                                    statusCode: n.statusCode,
                                    headers: n.headers
                                })
                            })
                        },
                        getBucketCors: function(e, t) {
                            d.call(this, {
                                Action: "name/cos:GetBucketCORS",
                                method: "GET",
                                Bucket: e.Bucket,
                                Region: e.Region,
                                headers: e.Headers,
                                action: "cors"
                            }, function(e, n) {
                                if (e)
                                    if (404 === e.statusCode && e.error && "NoSuchCORSConfiguration" === e.error.Code) {
                                        var r = {
                                            CORSRules: [],
                                            statusCode: e.statusCode
                                        };
                                        e.headers && (r.headers = e.headers), t(null, r)
                                    } else t(e);
                                else {
                                    var i = n.CORSConfiguration || {},
                                        a = i.CORSRules || i.CORSRule || [];
                                    a = o.clone(o.isArray(a) ? a : [a]);
                                    var s = i.ResponseVary;
                                    o.each(a, function(e) {
                                        o.each(["AllowedOrigin", "AllowedHeader", "AllowedMethod", "ExposeHeader"], function(t) {
                                            var n = t + "s",
                                                r = e[n] || e[t] || [];
                                            delete e[t], e[n] = o.isArray(r) ? r : [r]
                                        })
                                    }), t(null, {
                                        CORSRules: a,
                                        ResponseVary: s,
                                        statusCode: n.statusCode,
                                        headers: n.headers
                                    })
                                }
                            })
                        },
                        deleteBucketCors: function(e, t) {
                            d.call(this, {
                                Action: "name/cos:DeleteBucketCORS",
                                method: "DELETE",
                                Bucket: e.Bucket,
                                Region: e.Region,
                                headers: e.Headers,
                                action: "cors"
                            }, function(e, n) {
                                return e && 204 === e.statusCode ? t(null, {
                                    statusCode: e.statusCode
                                }) : e ? t(e) : void t(null, {
                                    statusCode: n.statusCode || e.statusCode,
                                    headers: n.headers
                                })
                            })
                        },
                        getBucketLocation: function(e, t) {
                            d.call(this, {
                                Action: "name/cos:GetBucketLocation",
                                method: "GET",
                                Bucket: e.Bucket,
                                Region: e.Region,
                                headers: e.Headers,
                                action: "location"
                            }, t)
                        },
                        getBucketPolicy: function(e, t) {
                            d.call(this, {
                                Action: "name/cos:GetBucketPolicy",
                                method: "GET",
                                Bucket: e.Bucket,
                                Region: e.Region,
                                headers: e.Headers,
                                action: "policy",
                                rawBody: !0
                            }, function(e, n) {
                                if (e) return e.statusCode && 403 === e.statusCode ? t(o.error(e, {
                                    ErrorStatus: "Access Denied"
                                })) : e.statusCode && 405 === e.statusCode ? t(o.error(e, {
                                    ErrorStatus: "Method Not Allowed"
                                })) : e.statusCode && 404 === e.statusCode ? t(o.error(e, {
                                    ErrorStatus: "Policy Not Found"
                                })) : t(e);
                                var r = {};
                                try {
                                    r = JSON.parse(n.body)
                                } catch (e) {}
                                t(null, {
                                    Policy: r,
                                    statusCode: n.statusCode,
                                    headers: n.headers
                                })
                            })
                        },
                        putBucketPolicy: function(e, t) {
                            var n = e.Policy;
                            try {
                                "string" == typeof n && (n = JSON.parse(n))
                            } catch (e) {}
                            if (!n || "string" == typeof n) return t(o.error(new Error("Policy format error")));
                            var r = __WEBPACK_IMPORTED_MODULE_3_babel_runtime_core_js_json_stringify___default()(n);
                            n.version || (n.version = "2.0");
                            var i = e.Headers;
                            i["Content-Type"] = "application/json", i["Content-MD5"] = o.binaryBase64(o.md5(r)), d.call(this, {
                                Action: "name/cos:PutBucketPolicy",
                                method: "PUT",
                                Bucket: e.Bucket,
                                Region: e.Region,
                                action: "policy",
                                body: r,
                                headers: i
                            }, function(e, n) {
                                return e && 204 === e.statusCode ? t(null, {
                                    statusCode: e.statusCode
                                }) : e ? t(e) : void t(null, {
                                    statusCode: n.statusCode,
                                    headers: n.headers
                                })
                            })
                        },
                        deleteBucketPolicy: function(e, t) {
                            d.call(this, {
                                Action: "name/cos:DeleteBucketPolicy",
                                method: "DELETE",
                                Bucket: e.Bucket,
                                Region: e.Region,
                                headers: e.Headers,
                                action: "policy"
                            }, function(e, n) {
                                return e && 204 === e.statusCode ? t(null, {
                                    statusCode: e.statusCode
                                }) : e ? t(e) : void t(null, {
                                    statusCode: n.statusCode || e.statusCode,
                                    headers: n.headers
                                })
                            })
                        },
                        putBucketTagging: function(e, t) {
                            var n = e.Tagging || {},
                                r = n.TagSet || n.Tags || e.Tags || [];
                            r = o.clone(o.isArray(r) ? r : [r]);
                            var i = o.json2xml({
                                    Tagging: {
                                        TagSet: {
                                            Tag: r
                                        }
                                    }
                                }),
                                a = e.Headers;
                            a["Content-Type"] = "application/xml", a["Content-MD5"] = o.binaryBase64(o.md5(i)), d.call(this, {
                                Action: "name/cos:PutBucketTagging",
                                method: "PUT",
                                Bucket: e.Bucket,
                                Region: e.Region,
                                body: i,
                                action: "tagging",
                                headers: a
                            }, function(e, n) {
                                return e && 204 === e.statusCode ? t(null, {
                                    statusCode: e.statusCode
                                }) : e ? t(e) : void t(null, {
                                    statusCode: n.statusCode,
                                    headers: n.headers
                                })
                            })
                        },
                        getBucketTagging: function(e, t) {
                            d.call(this, {
                                Action: "name/cos:GetBucketTagging",
                                method: "GET",
                                Bucket: e.Bucket,
                                Region: e.Region,
                                headers: e.Headers,
                                action: "tagging"
                            }, function(e, n) {
                                if (e)
                                    if (404 !== e.statusCode || !e.error || "Not Found" !== e.error && "NoSuchTagSet" !== e.error.Code) t(e);
                                    else {
                                        var r = {
                                            Tags: [],
                                            statusCode: e.statusCode
                                        };
                                        e.headers && (r.headers = e.headers), t(null, r)
                                    }
                                else {
                                    var i = [];
                                    try {
                                        i = n.Tagging.TagSet.Tag || []
                                    } catch (e) {}
                                    i = o.clone(o.isArray(i) ? i : [i]), t(null, {
                                        Tags: i,
                                        statusCode: n.statusCode,
                                        headers: n.headers
                                    })
                                }
                            })
                        },
                        deleteBucketTagging: function(e, t) {
                            d.call(this, {
                                Action: "name/cos:DeleteBucketTagging",
                                method: "DELETE",
                                Bucket: e.Bucket,
                                Region: e.Region,
                                headers: e.Headers,
                                action: "tagging"
                            }, function(e, n) {
                                return e && 204 === e.statusCode ? t(null, {
                                    statusCode: e.statusCode
                                }) : e ? t(e) : void t(null, {
                                    statusCode: n.statusCode,
                                    headers: n.headers
                                })
                            })
                        },
                        putBucketLifecycle: function(e, t) {
                            var n = (e.LifecycleConfiguration || {}).Rules || e.Rules || [];
                            n = o.clone(n);
                            var r = o.json2xml({
                                    LifecycleConfiguration: {
                                        Rule: n
                                    }
                                }),
                                i = e.Headers;
                            i["Content-Type"] = "application/xml", i["Content-MD5"] = o.binaryBase64(o.md5(r)), d.call(this, {
                                Action: "name/cos:PutBucketLifecycle",
                                method: "PUT",
                                Bucket: e.Bucket,
                                Region: e.Region,
                                body: r,
                                action: "lifecycle",
                                headers: i
                            }, function(e, n) {
                                return e && 204 === e.statusCode ? t(null, {
                                    statusCode: e.statusCode
                                }) : e ? t(e) : void t(null, {
                                    statusCode: n.statusCode,
                                    headers: n.headers
                                })
                            })
                        },
                        getBucketLifecycle: function(e, t) {
                            d.call(this, {
                                Action: "name/cos:GetBucketLifecycle",
                                method: "GET",
                                Bucket: e.Bucket,
                                Region: e.Region,
                                headers: e.Headers,
                                action: "lifecycle"
                            }, function(e, n) {
                                if (e)
                                    if (404 === e.statusCode && e.error && "NoSuchLifecycleConfiguration" === e.error.Code) {
                                        var r = {
                                            Rules: [],
                                            statusCode: e.statusCode
                                        };
                                        e.headers && (r.headers = e.headers), t(null, r)
                                    } else t(e);
                                else {
                                    var i = [];
                                    try {
                                        i = n.LifecycleConfiguration.Rule || []
                                    } catch (e) {}
                                    i = o.clone(o.isArray(i) ? i : [i]), t(null, {
                                        Rules: i,
                                        statusCode: n.statusCode,
                                        headers: n.headers
                                    })
                                }
                            })
                        },
                        deleteBucketLifecycle: function(e, t) {
                            d.call(this, {
                                Action: "name/cos:DeleteBucketLifecycle",
                                method: "DELETE",
                                Bucket: e.Bucket,
                                Region: e.Region,
                                headers: e.Headers,
                                action: "lifecycle"
                            }, function(e, n) {
                                return e && 204 === e.statusCode ? t(null, {
                                    statusCode: e.statusCode
                                }) : e ? t(e) : void t(null, {
                                    statusCode: n.statusCode,
                                    headers: n.headers
                                })
                            })
                        },
                        putBucketVersioning: function(e, t) {
                            if (e.VersioningConfiguration) {
                                var n = e.VersioningConfiguration || {},
                                    r = o.json2xml({
                                        VersioningConfiguration: n
                                    }),
                                    i = e.Headers;
                                i["Content-Type"] = "application/xml", i["Content-MD5"] = o.binaryBase64(o.md5(r)), d.call(this, {
                                    Action: "name/cos:PutBucketVersioning",
                                    method: "PUT",
                                    Bucket: e.Bucket,
                                    Region: e.Region,
                                    body: r,
                                    action: "versioning",
                                    headers: i
                                }, function(e, n) {
                                    return e && 204 === e.statusCode ? t(null, {
                                        statusCode: e.statusCode
                                    }) : e ? t(e) : void t(null, {
                                        statusCode: n.statusCode,
                                        headers: n.headers
                                    })
                                })
                            } else t(o.error(new Error("missing param VersioningConfiguration")))
                        },
                        getBucketVersioning: function(e, t) {
                            d.call(this, {
                                Action: "name/cos:GetBucketVersioning",
                                method: "GET",
                                Bucket: e.Bucket,
                                Region: e.Region,
                                headers: e.Headers,
                                action: "versioning"
                            }, function(e, n) {
                                e || !n.VersioningConfiguration && (n.VersioningConfiguration = {}), t(e, n)
                            })
                        },
                        putBucketReplication: function(e, t) {
                            var n = o.clone(e.ReplicationConfiguration),
                                r = o.json2xml({
                                    ReplicationConfiguration: n
                                });
                            r = (r = r.replace(/<(\/?)Rules>/gi, "<$1Rule>")).replace(/<(\/?)Tags>/gi, "<$1Tag>");
                            var i = e.Headers;
                            i["Content-Type"] = "application/xml", i["Content-MD5"] = o.binaryBase64(o.md5(r)), d.call(this, {
                                Action: "name/cos:PutBucketReplication",
                                method: "PUT",
                                Bucket: e.Bucket,
                                Region: e.Region,
                                body: r,
                                action: "replication",
                                headers: i
                            }, function(e, n) {
                                return e && 204 === e.statusCode ? t(null, {
                                    statusCode: e.statusCode
                                }) : e ? t(e) : void t(null, {
                                    statusCode: n.statusCode,
                                    headers: n.headers
                                })
                            })
                        },
                        getBucketReplication: function(e, t) {
                            d.call(this, {
                                Action: "name/cos:GetBucketReplication",
                                method: "GET",
                                Bucket: e.Bucket,
                                Region: e.Region,
                                headers: e.Headers,
                                action: "replication"
                            }, function(e, n) {
                                if (e)
                                    if (404 !== e.statusCode || !e.error || "Not Found" !== e.error && "ReplicationConfigurationnotFoundError" !== e.error.Code) t(e);
                                    else {
                                        var r = {
                                            ReplicationConfiguration: {
                                                Rules: []
                                            },
                                            statusCode: e.statusCode
                                        };
                                        e.headers && (r.headers = e.headers), t(null, r)
                                    }
                                else !n.ReplicationConfiguration && (n.ReplicationConfiguration = {}), n.ReplicationConfiguration.Rule && (n.ReplicationConfiguration.Rules = o.makeArray(n.ReplicationConfiguration.Rule), delete n.ReplicationConfiguration.Rule), t(e, n)
                            })
                        },
                        deleteBucketReplication: function(e, t) {
                            d.call(this, {
                                Action: "name/cos:DeleteBucketReplication",
                                method: "DELETE",
                                Bucket: e.Bucket,
                                Region: e.Region,
                                headers: e.Headers,
                                action: "replication"
                            }, function(e, n) {
                                return e && 204 === e.statusCode ? t(null, {
                                    statusCode: e.statusCode
                                }) : e ? t(e) : void t(null, {
                                    statusCode: n.statusCode,
                                    headers: n.headers
                                })
                            })
                        },
                        putBucketWebsite: function(e, t) {
                            if (e.WebsiteConfiguration) {
                                var n = o.clone(e.WebsiteConfiguration || {}),
                                    r = n.RoutingRules || n.RoutingRule || [];
                                r = o.isArray(r) ? r : [r], delete n.RoutingRule, delete n.RoutingRules, r.length && (n.RoutingRules = {
                                    RoutingRule: r
                                });
                                var i = o.json2xml({
                                        WebsiteConfiguration: n
                                    }),
                                    a = e.Headers;
                                a["Content-Type"] = "application/xml", a["Content-MD5"] = o.binaryBase64(o.md5(i)), d.call(this, {
                                    Action: "name/cos:PutBucketWebsite",
                                    method: "PUT",
                                    Bucket: e.Bucket,
                                    Region: e.Region,
                                    body: i,
                                    action: "website",
                                    headers: a
                                }, function(e, n) {
                                    return e && 204 === e.statusCode ? t(null, {
                                        statusCode: e.statusCode
                                    }) : e ? t(e) : void t(null, {
                                        statusCode: n.statusCode,
                                        headers: n.headers
                                    })
                                })
                            } else t(o.error(new Error("missing param WebsiteConfiguration")))
                        },
                        getBucketWebsite: function(e, t) {
                            d.call(this, {
                                Action: "name/cos:GetBucketWebsite",
                                method: "GET",
                                Bucket: e.Bucket,
                                Region: e.Region,
                                Key: e.Key,
                                headers: e.Headers,
                                action: "website"
                            }, function(e, n) {
                                if (e)
                                    if (404 === e.statusCode && "NoSuchWebsiteConfiguration" === e.error.Code) {
                                        var r = {
                                            WebsiteConfiguration: {},
                                            statusCode: e.statusCode
                                        };
                                        e.headers && (r.headers = e.headers), t(null, r)
                                    } else t(e);
                                else {
                                    var i = n.WebsiteConfiguration || {};
                                    if (i.RoutingRules) {
                                        var a = o.clone(i.RoutingRules.RoutingRule || []);
                                        a = o.makeArray(a), i.RoutingRules = a
                                    }
                                    t(null, {
                                        WebsiteConfiguration: i,
                                        statusCode: n.statusCode,
                                        headers: n.headers
                                    })
                                }
                            })
                        },
                        deleteBucketWebsite: function(e, t) {
                            d.call(this, {
                                Action: "name/cos:DeleteBucketWebsite",
                                method: "DELETE",
                                Bucket: e.Bucket,
                                Region: e.Region,
                                headers: e.Headers,
                                action: "website"
                            }, function(e, n) {
                                return e && 204 === e.statusCode ? t(null, {
                                    statusCode: e.statusCode
                                }) : e ? t(e) : void t(null, {
                                    statusCode: n.statusCode,
                                    headers: n.headers
                                })
                            })
                        },
                        putBucketReferer: function(e, t) {
                            if (e.RefererConfiguration) {
                                var n = o.clone(e.RefererConfiguration || {}),
                                    r = n.DomainList || {},
                                    i = r.Domains || r.Domain || [];
                                (i = o.isArray(i) ? i : [i]).length && (n.DomainList = {
                                    Domain: i
                                });
                                var a = o.json2xml({
                                        RefererConfiguration: n
                                    }),
                                    s = e.Headers;
                                s["Content-Type"] = "application/xml", s["Content-MD5"] = o.binaryBase64(o.md5(a)), d.call(this, {
                                    Action: "name/cos:PutBucketReferer",
                                    method: "PUT",
                                    Bucket: e.Bucket,
                                    Region: e.Region,
                                    body: a,
                                    action: "referer",
                                    headers: s
                                }, function(e, n) {
                                    return e && 204 === e.statusCode ? t(null, {
                                        statusCode: e.statusCode
                                    }) : e ? t(e) : void t(null, {
                                        statusCode: n.statusCode,
                                        headers: n.headers
                                    })
                                })
                            } else t(o.error(new Error("missing param RefererConfiguration")))
                        },
                        getBucketReferer: function(e, t) {
                            d.call(this, {
                                Action: "name/cos:GetBucketReferer",
                                method: "GET",
                                Bucket: e.Bucket,
                                Region: e.Region,
                                Key: e.Key,
                                headers: e.Headers,
                                action: "referer"
                            }, function(e, n) {
                                if (e)
                                    if (404 === e.statusCode && "NoSuchRefererConfiguration" === e.error.Code) {
                                        var r = {
                                            WebsiteConfiguration: {},
                                            statusCode: e.statusCode
                                        };
                                        e.headers && (r.headers = e.headers), t(null, r)
                                    } else t(e);
                                else {
                                    var i = n.RefererConfiguration || {};
                                    if (i.DomainList) {
                                        var a = o.makeArray(i.DomainList.Domain || []);
                                        i.DomainList = {
                                            Domains: a
                                        }
                                    }
                                    t(null, {
                                        RefererConfiguration: i,
                                        statusCode: n.statusCode,
                                        headers: n.headers
                                    })
                                }
                            })
                        },
                        putBucketDomain: function(e, t) {
                            var n = (e.DomainConfiguration || {}).DomainRule || e.DomainRule || [];
                            n = o.clone(n);
                            var r = o.json2xml({
                                    DomainConfiguration: {
                                        DomainRule: n
                                    }
                                }),
                                i = e.Headers;
                            i["Content-Type"] = "application/xml", i["Content-MD5"] = o.binaryBase64(o.md5(r)), d.call(this, {
                                Action: "name/cos:PutBucketDomain",
                                method: "PUT",
                                Bucket: e.Bucket,
                                Region: e.Region,
                                body: r,
                                action: "domain",
                                headers: i
                            }, function(e, n) {
                                return e && 204 === e.statusCode ? t(null, {
                                    statusCode: e.statusCode
                                }) : e ? t(e) : void t(null, {
                                    statusCode: n.statusCode,
                                    headers: n.headers
                                })
                            })
                        },
                        getBucketDomain: function(e, t) {
                            d.call(this, {
                                Action: "name/cos:GetBucketDomain",
                                method: "GET",
                                Bucket: e.Bucket,
                                Region: e.Region,
                                headers: e.Headers,
                                action: "domain"
                            }, function(e, n) {
                                if (e) return t(e);
                                var r = [];
                                try {
                                    r = n.DomainConfiguration.DomainRule || []
                                } catch (e) {}
                                r = o.clone(o.isArray(r) ? r : [r]), t(null, {
                                    DomainRule: r,
                                    statusCode: n.statusCode,
                                    headers: n.headers
                                })
                            })
                        },
                        deleteBucketDomain: function(e, t) {
                            d.call(this, {
                                Action: "name/cos:DeleteBucketDomain",
                                method: "DELETE",
                                Bucket: e.Bucket,
                                Region: e.Region,
                                headers: e.Headers,
                                action: "domain"
                            }, function(e, n) {
                                return e && 204 === e.statusCode ? t(null, {
                                    statusCode: e.statusCode
                                }) : e ? t(e) : void t(null, {
                                    statusCode: n.statusCode,
                                    headers: n.headers
                                })
                            })
                        },
                        putBucketOrigin: function(e, t) {
                            var n = (e.OriginConfiguration || {}).OriginRule || e.OriginRule || [];
                            n = o.clone(n);
                            var r = o.json2xml({
                                    OriginConfiguration: {
                                        OriginRule: n
                                    }
                                }),
                                i = e.Headers;
                            i["Content-Type"] = "application/xml", i["Content-MD5"] = o.binaryBase64(o.md5(r)), d.call(this, {
                                Action: "name/cos:PutBucketOrigin",
                                method: "PUT",
                                Bucket: e.Bucket,
                                Region: e.Region,
                                body: r,
                                action: "origin",
                                headers: i
                            }, function(e, n) {
                                return e && 204 === e.statusCode ? t(null, {
                                    statusCode: e.statusCode
                                }) : e ? t(e) : void t(null, {
                                    statusCode: n.statusCode,
                                    headers: n.headers
                                })
                            })
                        },
                        getBucketOrigin: function(e, t) {
                            d.call(this, {
                                Action: "name/cos:GetBucketOrigin",
                                method: "GET",
                                Bucket: e.Bucket,
                                Region: e.Region,
                                headers: e.Headers,
                                action: "origin"
                            }, function(e, n) {
                                if (e) return t(e);
                                var r = [];
                                try {
                                    r = n.OriginConfiguration.OriginRule || []
                                } catch (e) {}
                                r = o.clone(o.isArray(r) ? r : [r]), t(null, {
                                    OriginRule: r,
                                    statusCode: n.statusCode,
                                    headers: n.headers
                                })
                            })
                        },
                        deleteBucketOrigin: function(e, t) {
                            d.call(this, {
                                Action: "name/cos:DeleteBucketOrigin",
                                method: "DELETE",
                                Bucket: e.Bucket,
                                Region: e.Region,
                                headers: e.Headers,
                                action: "origin"
                            }, function(e, n) {
                                return e && 204 === e.statusCode ? t(null, {
                                    statusCode: e.statusCode
                                }) : e ? t(e) : void t(null, {
                                    statusCode: n.statusCode,
                                    headers: n.headers
                                })
                            })
                        },
                        putBucketLogging: function(e, t) {
                            var n = o.json2xml({
                                    BucketLoggingStatus: e.BucketLoggingStatus || ""
                                }),
                                r = e.Headers;
                            r["Content-Type"] = "application/xml", r["Content-MD5"] = o.binaryBase64(o.md5(n)), d.call(this, {
                                Action: "name/cos:PutBucketLogging",
                                method: "PUT",
                                Bucket: e.Bucket,
                                Region: e.Region,
                                body: n,
                                action: "logging",
                                headers: r
                            }, function(e, n) {
                                return e && 204 === e.statusCode ? t(null, {
                                    statusCode: e.statusCode
                                }) : e ? t(e) : void t(null, {
                                    statusCode: n.statusCode,
                                    headers: n.headers
                                })
                            })
                        },
                        getBucketLogging: function(e, t) {
                            d.call(this, {
                                Action: "name/cos:GetBucketLogging",
                                method: "GET",
                                Bucket: e.Bucket,
                                Region: e.Region,
                                headers: e.Headers,
                                action: "logging"
                            }, function(e, n) {
                                if (e) return t(e);
                                t(null, {
                                    BucketLoggingStatus: n.BucketLoggingStatus,
                                    statusCode: n.statusCode,
                                    headers: n.headers
                                })
                            })
                        },
                        putBucketInventory: function(e, t) {
                            var n = o.clone(e.InventoryConfiguration);
                            if (n.OptionalFields) {
                                var r = n.OptionalFields || [];
                                n.OptionalFields = {
                                    Field: r
                                }
                            }
                            if (n.Destination && n.Destination.COSBucketDestination && n.Destination.COSBucketDestination.Encryption) {
                                var i = n.Destination.COSBucketDestination.Encryption;
                                __WEBPACK_IMPORTED_MODULE_5_babel_runtime_core_js_object_keys___default()(i).indexOf("SSECOS") > -1 && (i["SSE-COS"] = i.SSECOS, delete i.SSECOS)
                            }
                            var a = o.json2xml({
                                    InventoryConfiguration: n
                                }),
                                s = e.Headers;
                            s["Content-Type"] = "application/xml", s["Content-MD5"] = o.binaryBase64(o.md5(a)), d.call(this, {
                                Action: "name/cos:PutBucketInventory",
                                method: "PUT",
                                Bucket: e.Bucket,
                                Region: e.Region,
                                body: a,
                                action: "inventory",
                                qs: {
                                    id: e.Id
                                },
                                headers: s
                            }, function(e, n) {
                                return e && 204 === e.statusCode ? t(null, {
                                    statusCode: e.statusCode
                                }) : e ? t(e) : void t(null, {
                                    statusCode: n.statusCode,
                                    headers: n.headers
                                })
                            })
                        },
                        getBucketInventory: function(e, t) {
                            d.call(this, {
                                Action: "name/cos:GetBucketInventory",
                                method: "GET",
                                Bucket: e.Bucket,
                                Region: e.Region,
                                headers: e.Headers,
                                action: "inventory",
                                qs: {
                                    id: e.Id
                                }
                            }, function(e, n) {
                                if (e) return t(e);
                                var r = n.InventoryConfiguration;
                                if (r && r.OptionalFields && r.OptionalFields.Field) {
                                    var i = r.OptionalFields.Field;
                                    o.isArray(i) || (i = [i]), r.OptionalFields = i
                                }
                                if (r.Destination && r.Destination.COSBucketDestination && r.Destination.COSBucketDestination.Encryption) {
                                    var a = r.Destination.COSBucketDestination.Encryption;
                                    __WEBPACK_IMPORTED_MODULE_5_babel_runtime_core_js_object_keys___default()(a).indexOf("SSE-COS") > -1 && (a.SSECOS = a["SSE-COS"], delete a["SSE-COS"])
                                }
                                t(null, {
                                    InventoryConfiguration: r,
                                    statusCode: n.statusCode,
                                    headers: n.headers
                                })
                            })
                        },
                        listBucketInventory: function(e, t) {
                            d.call(this, {
                                Action: "name/cos:ListBucketInventory",
                                method: "GET",
                                Bucket: e.Bucket,
                                Region: e.Region,
                                headers: e.Headers,
                                action: "inventory",
                                qs: {
                                    "continuation-token": e.ContinuationToken
                                }
                            }, function(e, n) {
                                if (e) return t(e);
                                var r = n.ListInventoryConfigurationResult,
                                    i = r.InventoryConfiguration || [];
                                i = o.isArray(i) ? i : [i], delete r.InventoryConfiguration, o.each(i, function(e) {
                                    if (e && e.OptionalFields && e.OptionalFields.Field) {
                                        var t = e.OptionalFields.Field;
                                        o.isArray(t) || (t = [t]), e.OptionalFields = t
                                    }
                                    if (e.Destination && e.Destination.COSBucketDestination && e.Destination.COSBucketDestination.Encryption) {
                                        var n = e.Destination.COSBucketDestination.Encryption;
                                        __WEBPACK_IMPORTED_MODULE_5_babel_runtime_core_js_object_keys___default()(n).indexOf("SSE-COS") > -1 && (n.SSECOS = n["SSE-COS"], delete n["SSE-COS"])
                                    }
                                }), r.InventoryConfigurations = i, o.extend(r, {
                                    statusCode: n.statusCode,
                                    headers: n.headers
                                }), t(null, r)
                            })
                        },
                        deleteBucketInventory: function(e, t) {
                            d.call(this, {
                                Action: "name/cos:DeleteBucketInventory",
                                method: "DELETE",
                                Bucket: e.Bucket,
                                Region: e.Region,
                                headers: e.Headers,
                                action: "inventory",
                                qs: {
                                    id: e.Id
                                }
                            }, function(e, n) {
                                return e && 204 === e.statusCode ? t(null, {
                                    statusCode: e.statusCode
                                }) : e ? t(e) : void t(null, {
                                    statusCode: n.statusCode,
                                    headers: n.headers
                                })
                            })
                        },
                        putBucketAccelerate: function(e, t) {
                            if (e.AccelerateConfiguration) {
                                var n = {
                                        AccelerateConfiguration: e.AccelerateConfiguration || {}
                                    },
                                    r = o.json2xml(n),
                                    i = {
                                        "Content-Type": "application/xml"
                                    };
                                i["Content-MD5"] = o.binaryBase64(o.md5(r)), d.call(this, {
                                    Action: "name/cos:PutBucketAccelerate",
                                    method: "PUT",
                                    Bucket: e.Bucket,
                                    Region: e.Region,
                                    body: r,
                                    action: "accelerate",
                                    headers: i
                                }, function(e, n) {
                                    if (e) return t(e);
                                    t(null, {
                                        statusCode: n.statusCode,
                                        headers: n.headers
                                    })
                                })
                            } else t(o.error(new Error("missing param AccelerateConfiguration")))
                        },
                        getBucketAccelerate: function(e, t) {
                            d.call(this, {
                                Action: "name/cos:GetBucketAccelerate",
                                method: "GET",
                                Bucket: e.Bucket,
                                Region: e.Region,
                                action: "accelerate"
                            }, function(e, n) {
                                e || !n.AccelerateConfiguration && (n.AccelerateConfiguration = {}), t(e, n)
                            })
                        },
                        putBucketEncryption: function(e, t) {
                            var n = e.ServerSideEncryptionConfiguration || {},
                                r = n.Rule || n.Rules || [],
                                i = o.json2xml({
                                    ServerSideEncryptionConfiguration: {
                                        Rule: r
                                    }
                                }),
                                a = e.Headers;
                            a["Content-Type"] = "application/xml", a["Content-MD5"] = o.binaryBase64(o.md5(i)), d.call(this, {
                                Action: "name/cos:PutBucketEncryption",
                                method: "PUT",
                                Bucket: e.Bucket,
                                Region: e.Region,
                                body: i,
                                action: "encryption",
                                headers: a
                            }, function(e, n) {
                                return e && 204 === e.statusCode ? t(null, {
                                    statusCode: e.statusCode
                                }) : e ? t(e) : void t(null, {
                                    statusCode: n.statusCode,
                                    headers: n.headers
                                })
                            })
                        },
                        getBucketEncryption: function(e, t) {
                            d.call(this, {
                                Action: "name/cos:GetBucketEncryption",
                                method: "GET",
                                Bucket: e.Bucket,
                                Region: e.Region,
                                headers: e.Headers,
                                action: "encryption"
                            }, function(e, n) {
                                if (e)
                                    if (404 === e.statusCode && "NoSuchEncryptionConfiguration" === e.code) {
                                        var r = {
                                            EncryptionConfiguration: {
                                                Rules: []
                                            },
                                            statusCode: e.statusCode
                                        };
                                        e.headers && (r.headers = e.headers), t(null, r)
                                    } else t(e);
                                else {
                                    var i = o.makeArray(n.EncryptionConfiguration && n.EncryptionConfiguration.Rule || []);
                                    n.EncryptionConfiguration = {
                                        Rules: i
                                    }, t(e, n)
                                }
                            })
                        },
                        deleteBucketEncryption: function(e, t) {
                            d.call(this, {
                                Action: "name/cos:DeleteBucketReplication",
                                method: "DELETE",
                                Bucket: e.Bucket,
                                Region: e.Region,
                                headers: e.Headers,
                                action: "encryption"
                            }, function(e, n) {
                                return e && 204 === e.statusCode ? t(null, {
                                    statusCode: e.statusCode
                                }) : e ? t(e) : void t(null, {
                                    statusCode: n.statusCode,
                                    headers: n.headers
                                })
                            })
                        },
                        getObject: function(e, t) {
                            var n = e.Query || {},
                                r = e.QueryString || "",
                                i = o.throttleOnProgress.call(this, 0, e.onProgress),
                                a = e.tracker;
                            a && a.setParams({
                                signStartTime: (new Date).getTime()
                            }), n["response-content-type"] = e.ResponseContentType, n["response-content-language"] = e.ResponseContentLanguage, n["response-expires"] = e.ResponseExpires, n["response-cache-control"] = e.ResponseCacheControl, n["response-content-disposition"] = e.ResponseContentDisposition, n["response-content-encoding"] = e.ResponseContentEncoding, d.call(this, {
                                Action: "name/cos:GetObject",
                                method: "GET",
                                Bucket: e.Bucket,
                                Region: e.Region,
                                Key: e.Key,
                                VersionId: e.VersionId,
                                DataType: e.DataType,
                                headers: e.Headers,
                                qs: n,
                                qsStr: r,
                                rawBody: !0,
                                onDownloadProgress: i,
                                tracker: a
                            }, function(n, r) {
                                if (i(null, !0), n) {
                                    var a = n.statusCode;
                                    return e.Headers["If-Modified-Since"] && a && 304 === a ? t(null, {
                                        NotModified: !0
                                    }) : t(n)
                                }
                                t(null, {
                                    Body: r.body,
                                    ETag: o.attr(r.headers, "etag", ""),
                                    statusCode: r.statusCode,
                                    headers: r.headers
                                })
                            })
                        },
                        headObject: function(e, t) {
                            d.call(this, {
                                Action: "name/cos:HeadObject",
                                method: "HEAD",
                                Bucket: e.Bucket,
                                Region: e.Region,
                                Key: e.Key,
                                VersionId: e.VersionId,
                                headers: e.Headers
                            }, function(n, r) {
                                if (n) {
                                    var i = n.statusCode;
                                    return e.Headers["If-Modified-Since"] && i && 304 === i ? t(null, {
                                        NotModified: !0,
                                        statusCode: i
                                    }) : t(n)
                                }
                                r.ETag = o.attr(r.headers, "etag", ""), t(null, r)
                            })
                        },
                        listObjectVersions: function(e, t) {
                            var n = {};
                            n.prefix = e.Prefix || "", n.delimiter = e.Delimiter, n["key-marker"] = e.KeyMarker, n["version-id-marker"] = e.VersionIdMarker, n["max-keys"] = e.MaxKeys, n["encoding-type"] = e.EncodingType, d.call(this, {
                                Action: "name/cos:GetBucketObjectVersions",
                                ResourceKey: n.prefix,
                                method: "GET",
                                Bucket: e.Bucket,
                                Region: e.Region,
                                headers: e.Headers,
                                qs: n,
                                action: "versions"
                            }, function(e, n) {
                                if (e) return t(e);
                                var r = n.ListVersionsResult || {},
                                    i = r.DeleteMarker || [];
                                i = o.isArray(i) ? i : [i];
                                var a = r.Version || [];
                                a = o.isArray(a) ? a : [a];
                                var s = o.clone(r);
                                delete s.DeleteMarker, delete s.Version, o.extend(s, {
                                    DeleteMarkers: i,
                                    Versions: a,
                                    statusCode: n.statusCode,
                                    headers: n.headers
                                }), t(null, s)
                            })
                        },
                        putObject: function(e, t) {
                            var n = this,
                                r = e.ContentLength,
                                i = o.throttleOnProgress.call(n, r, e.onProgress),
                                a = e.Headers;
                            a["Cache-Control"] || a["cache-control"] || (a["Cache-Control"] = ""), a["Content-Type"] || a["content-type"] || (a["Content-Type"] = e.Body && e.Body.type || "");
                            var c = e.UploadAddMetaMd5 || n.options.UploadAddMetaMd5 || n.options.UploadCheckContentMd5,
                                u = e.tracker;
                            c && u && u.setParams({
                                md5StartTime: (new Date).getTime()
                            }), o.getBodyMd5(c, e.Body, function(c) {
                                c && (u && u.setParams({
                                    md5EndTime: (new Date).getTime()
                                }), n.options.UploadCheckContentMd5 && (a["Content-MD5"] = o.binaryBase64(c)), (e.UploadAddMetaMd5 || n.options.UploadAddMetaMd5) && (a["x-cos-meta-md5"] = c)), void 0 !== e.ContentLength && (a["Content-Length"] = e.ContentLength), i(null, !0), d.call(n, {
                                    Action: "name/cos:PutObject",
                                    TaskId: e.TaskId,
                                    method: "PUT",
                                    Bucket: e.Bucket,
                                    Region: e.Region,
                                    Key: e.Key,
                                    headers: e.Headers,
                                    qs: e.Query,
                                    body: e.Body,
                                    onProgress: i,
                                    tracker: u
                                }, function(a, c) {
                                    if (a) return i(null, !0), t(a);
                                    i({
                                        loaded: r,
                                        total: r
                                    }, !0);
                                    var u = s({
                                        ForcePathStyle: n.options.ForcePathStyle,
                                        protocol: n.options.Protocol,
                                        domain: n.options.Domain,
                                        bucket: e.Bucket,
                                        region: n.options.UseAccelerate ? "accelerate" : e.Region,
                                        object: e.Key
                                    });
                                    u = u.substr(u.indexOf("://") + 3), c.Location = u, c.ETag = o.attr(c.headers, "etag", ""), t(null, c)
                                })
                            }, e.onHashProgress)
                        },
                        deleteObject: function(e, t) {
                            d.call(this, {
                                Action: "name/cos:DeleteObject",
                                method: "DELETE",
                                Bucket: e.Bucket,
                                Region: e.Region,
                                Key: e.Key,
                                headers: e.Headers,
                                VersionId: e.VersionId,
                                action: e.Recursive ? "recursive" : ""
                            }, function(e, n) {
                                if (e) {
                                    var r = e.statusCode;
                                    return r && 404 === r ? t(null, {
                                        BucketNotFound: !0,
                                        statusCode: r
                                    }) : t(e)
                                }
                                t(null, {
                                    statusCode: n.statusCode,
                                    headers: n.headers
                                })
                            })
                        },
                        getObjectAcl: function(e, t) {
                            d.call(this, {
                                Action: "name/cos:GetObjectACL",
                                method: "GET",
                                Bucket: e.Bucket,
                                Region: e.Region,
                                Key: e.Key,
                                headers: e.Headers,
                                action: "acl"
                            }, function(e, n) {
                                if (e) return t(e);
                                var r = n.AccessControlPolicy || {},
                                    a = r.Owner || {},
                                    s = r.AccessControlList && r.AccessControlList.Grant || [];
                                s = o.isArray(s) ? s : [s];
                                var c = i(r);
                                delete c.GrantWrite, n.headers && n.headers["x-cos-acl"] && (c.ACL = n.headers["x-cos-acl"]), c = o.extend(c, {
                                    Owner: a,
                                    Grants: s,
                                    statusCode: n.statusCode,
                                    headers: n.headers
                                }), t(null, c)
                            })
                        },
                        putObjectAcl: function(e, t) {
                            var n = e.Headers,
                                r = "";
                            if (e.AccessControlPolicy) {
                                var i = o.clone(e.AccessControlPolicy || {}),
                                    s = i.Grants || i.Grant;
                                s = o.isArray(s) ? s : [s], delete i.Grant, delete i.Grants, i.AccessControlList = {
                                    Grant: s
                                }, r = o.json2xml({
                                    AccessControlPolicy: i
                                }), n["Content-Type"] = "application/xml", n["Content-MD5"] = o.binaryBase64(o.md5(r))
                            }
                            o.each(n, function(e, t) {
                                0 === t.indexOf("x-cos-grant-") && (n[t] = a(n[t]))
                            }), d.call(this, {
                                Action: "name/cos:PutObjectACL",
                                method: "PUT",
                                Bucket: e.Bucket,
                                Region: e.Region,
                                Key: e.Key,
                                action: "acl",
                                headers: n,
                                body: r
                            }, function(e, n) {
                                if (e) return t(e);
                                t(null, {
                                    statusCode: n.statusCode,
                                    headers: n.headers
                                })
                            })
                        },
                        optionsObject: function(e, t) {
                            var n = e.Headers;
                            n.Origin = e.Origin, n["Access-Control-Request-Method"] = e.AccessControlRequestMethod, n["Access-Control-Request-Headers"] = e.AccessControlRequestHeaders, d.call(this, {
                                Action: "name/cos:OptionsObject",
                                method: "OPTIONS",
                                Bucket: e.Bucket,
                                Region: e.Region,
                                Key: e.Key,
                                headers: n
                            }, function(e, n) {
                                if (e) return e.statusCode && 403 === e.statusCode ? t(null, {
                                    OptionsForbidden: !0,
                                    statusCode: e.statusCode
                                }) : t(e);
                                var r = n.headers || {};
                                t(null, {
                                    AccessControlAllowOrigin: r["access-control-allow-origin"],
                                    AccessControlAllowMethods: r["access-control-allow-methods"],
                                    AccessControlAllowHeaders: r["access-control-allow-headers"],
                                    AccessControlExposeHeaders: r["access-control-expose-headers"],
                                    AccessControlMaxAge: r["access-control-max-age"],
                                    statusCode: n.statusCode,
                                    headers: n.headers
                                })
                            })
                        },
                        putObjectCopy: function(e, t) {
                            var n = this,
                                r = e.Headers;
                            r["Cache-Control"] || r["cache-control"] || (r["Cache-Control"] = "");
                            var i = e.CopySource || "",
                                a = o.getSourceParams.call(this, i);
                            if (a) {
                                var c = a[1],
                                    u = a[3],
                                    l = decodeURIComponent(a[4]);
                                d.call(this, {
                                    Scope: [{
                                        action: "name/cos:GetObject",
                                        bucket: c,
                                        region: u,
                                        prefix: l
                                    }, {
                                        action: "name/cos:PutObject",
                                        bucket: e.Bucket,
                                        region: e.Region,
                                        prefix: e.Key
                                    }],
                                    method: "PUT",
                                    Bucket: e.Bucket,
                                    Region: e.Region,
                                    Key: e.Key,
                                    VersionId: e.VersionId,
                                    headers: e.Headers
                                }, function(r, i) {
                                    if (r) return t(r);
                                    var a = o.clone(i.CopyObjectResult || {}),
                                        c = s({
                                            ForcePathStyle: n.options.ForcePathStyle,
                                            protocol: n.options.Protocol,
                                            domain: n.options.Domain,
                                            bucket: e.Bucket,
                                            region: e.Region,
                                            object: e.Key,
                                            isLocation: !0
                                        });
                                    o.extend(a, {
                                        Location: c,
                                        statusCode: i.statusCode,
                                        headers: i.headers
                                    }), t(null, a)
                                })
                            } else t(o.error(new Error("CopySource format error")))
                        },
                        deleteMultipleObject: function(e, t) {
                            var n = e.Objects || [],
                                r = e.Quiet;
                            n = o.isArray(n) ? n : [n];
                            var i = o.json2xml({
                                    Delete: {
                                        Object: n,
                                        Quiet: r || !1
                                    }
                                }),
                                a = e.Headers;
                            a["Content-Type"] = "application/xml", a["Content-MD5"] = o.binaryBase64(o.md5(i));
                            var s = o.map(n, function(t) {
                                return {
                                    action: "name/cos:DeleteObject",
                                    bucket: e.Bucket,
                                    region: e.Region,
                                    prefix: t.Key
                                }
                            });
                            d.call(this, {
                                Scope: s,
                                method: "POST",
                                Bucket: e.Bucket,
                                Region: e.Region,
                                body: i,
                                action: "delete",
                                headers: a
                            }, function(e, n) {
                                if (e) return t(e);
                                var r = n.DeleteResult || {},
                                    i = r.Deleted || [],
                                    a = r.Error || [];
                                i = o.isArray(i) ? i : [i], a = o.isArray(a) ? a : [a];
                                var s = o.clone(r);
                                o.extend(s, {
                                    Error: a,
                                    Deleted: i,
                                    statusCode: n.statusCode,
                                    headers: n.headers
                                }), t(null, s)
                            })
                        },
                        restoreObject: function(e, t) {
                            var n = e.Headers;
                            if (e.RestoreRequest) {
                                var r = e.RestoreRequest || {},
                                    i = o.json2xml({
                                        RestoreRequest: r
                                    });
                                n["Content-Type"] = "application/xml", n["Content-MD5"] = o.binaryBase64(o.md5(i)), d.call(this, {
                                    Action: "name/cos:RestoreObject",
                                    method: "POST",
                                    Bucket: e.Bucket,
                                    Region: e.Region,
                                    Key: e.Key,
                                    VersionId: e.VersionId,
                                    body: i,
                                    action: "restore",
                                    headers: n
                                }, t)
                            } else t(o.error(new Error("missing param RestoreRequest")))
                        },
                        putObjectTagging: function(e, t) {
                            var n = e.Tagging || {},
                                r = n.TagSet || n.Tags || e.Tags || [];
                            r = o.clone(o.isArray(r) ? r : [r]);
                            var i = o.json2xml({
                                    Tagging: {
                                        TagSet: {
                                            Tag: r
                                        }
                                    }
                                }),
                                a = e.Headers;
                            a["Content-Type"] = "application/xml", a["Content-MD5"] = o.binaryBase64(o.md5(i)), d.call(this, {
                                Action: "name/cos:PutObjectTagging",
                                method: "PUT",
                                Bucket: e.Bucket,
                                Key: e.Key,
                                Region: e.Region,
                                body: i,
                                action: "tagging",
                                headers: a,
                                VersionId: e.VersionId
                            }, function(e, n) {
                                return e && 204 === e.statusCode ? t(null, {
                                    statusCode: e.statusCode
                                }) : e ? t(e) : void t(null, {
                                    statusCode: n.statusCode,
                                    headers: n.headers
                                })
                            })
                        },
                        getObjectTagging: function(e, t) {
                            d.call(this, {
                                Action: "name/cos:GetObjectTagging",
                                method: "GET",
                                Key: e.Key,
                                Bucket: e.Bucket,
                                Region: e.Region,
                                headers: e.Headers,
                                action: "tagging",
                                VersionId: e.VersionId
                            }, function(e, n) {
                                if (e)
                                    if (404 !== e.statusCode || !e.error || "Not Found" !== e.error && "NoSuchTagSet" !== e.error.Code) t(e);
                                    else {
                                        var r = {
                                            Tags: [],
                                            statusCode: e.statusCode
                                        };
                                        e.headers && (r.headers = e.headers), t(null, r)
                                    }
                                else {
                                    var i = [];
                                    try {
                                        i = n.Tagging.TagSet.Tag || []
                                    } catch (e) {}
                                    i = o.clone(o.isArray(i) ? i : [i]), t(null, {
                                        Tags: i,
                                        statusCode: n.statusCode,
                                        headers: n.headers
                                    })
                                }
                            })
                        },
                        deleteObjectTagging: function(e, t) {
                            d.call(this, {
                                Action: "name/cos:DeleteObjectTagging",
                                method: "DELETE",
                                Bucket: e.Bucket,
                                Region: e.Region,
                                Key: e.Key,
                                headers: e.Headers,
                                action: "tagging",
                                VersionId: e.VersionId
                            }, function(e, n) {
                                return e && 204 === e.statusCode ? t(null, {
                                    statusCode: e.statusCode
                                }) : e ? t(e) : void t(null, {
                                    statusCode: n.statusCode,
                                    headers: n.headers
                                })
                            })
                        },
                        selectObjectContent: function(e, t) {
                            if (!e.SelectType) return t(o.error(new Error("missing param SelectType")));
                            var n = e.SelectRequest || {},
                                r = o.json2xml({
                                    SelectRequest: n
                                }),
                                i = e.Headers;
                            i["Content-Type"] = "application/xml", i["Content-MD5"] = o.binaryBase64(o.md5(r)), d.call(this, {
                                Action: "name/cos:GetObject",
                                method: "POST",
                                Bucket: e.Bucket,
                                Region: e.Region,
                                Key: e.Key,
                                headers: e.Headers,
                                action: "select",
                                qs: {
                                    "select-type": e.SelectType
                                },
                                VersionId: e.VersionId,
                                body: r,
                                DataType: "arraybuffer",
                                rawBody: !0
                            }, function(e, n) {
                                if (e && 204 === e.statusCode) return t(null, {
                                    statusCode: e.statusCode
                                });
                                if (e) return t(e);
                                var r = o.parseSelectPayload(n.body);
                                t(null, {
                                    statusCode: n.statusCode,
                                    headers: n.headers,
                                    Body: r.body,
                                    Payload: r.payload
                                })
                            })
                        },
                        appendObject: function(e, t) {
                            var n = e.Headers;
                            n["Cache-Control"] || n["cache-control"] || (n["Cache-Control"] = ""), n["Content-Type"] || n["content-type"] || (n["Content-Type"] = e.Body && e.Body.type || ""), d.call(this, {
                                Action: "name/cos:AppendObject",
                                method: "POST",
                                Bucket: e.Bucket,
                                Region: e.Region,
                                action: "append",
                                Key: e.Key,
                                body: e.Body,
                                qs: {
                                    position: e.Position
                                },
                                headers: e.Headers
                            }, function(e, n) {
                                if (e) return t(e);
                                t(null, n)
                            })
                        },
                        uploadPartCopy: function(e, t) {
                            var n = e.CopySource || "",
                                r = o.getSourceParams.call(this, n);
                            if (r) {
                                var i = r[1],
                                    a = r[3],
                                    s = decodeURIComponent(r[4]);
                                d.call(this, {
                                    Scope: [{
                                        action: "name/cos:GetObject",
                                        bucket: i,
                                        region: a,
                                        prefix: s
                                    }, {
                                        action: "name/cos:PutObject",
                                        bucket: e.Bucket,
                                        region: e.Region,
                                        prefix: e.Key
                                    }],
                                    method: "PUT",
                                    Bucket: e.Bucket,
                                    Region: e.Region,
                                    Key: e.Key,
                                    VersionId: e.VersionId,
                                    qs: {
                                        partNumber: e.PartNumber,
                                        uploadId: e.UploadId
                                    },
                                    headers: e.Headers
                                }, function(e, n) {
                                    if (e) return t(e);
                                    var r = o.clone(n.CopyPartResult || {});
                                    o.extend(r, {
                                        statusCode: n.statusCode,
                                        headers: n.headers
                                    }), t(null, r)
                                })
                            } else t(o.error(new Error("CopySource format error")))
                        },
                        multipartInit: function(e, t) {
                            var n = this,
                                r = e.Headers,
                                i = e.tracker;
                            r["Cache-Control"] || r["cache-control"] || (r["Cache-Control"] = ""), r["Content-Type"] || r["content-type"] || (r["Content-Type"] = e.Body && e.Body.type || "");
                            var a = e.Body && (e.UploadAddMetaMd5 || n.options.UploadAddMetaMd5);
                            a && i && i.setParams({
                                md5StartTime: (new Date).getTime()
                            }), o.getBodyMd5(a, e.Body, function(r) {
                                r && (e.Headers["x-cos-meta-md5"] = r), a && i && i.setParams({
                                    md5EndTime: (new Date).getTime()
                                }), d.call(n, {
                                    Action: "name/cos:InitiateMultipartUpload",
                                    method: "POST",
                                    Bucket: e.Bucket,
                                    Region: e.Region,
                                    Key: e.Key,
                                    action: "uploads",
                                    headers: e.Headers,
                                    qs: e.Query,
                                    tracker: i
                                }, function(e, n) {
                                    return e ? (i && i.parent && i.parent.setParams({
                                        errorNode: "multipartInit"
                                    }), t(e)) : (n = o.clone(n || {})) && n.InitiateMultipartUploadResult ? t(null, o.extend(n.InitiateMultipartUploadResult, {
                                        statusCode: n.statusCode,
                                        headers: n.headers
                                    })) : void t(null, n)
                                })
                            }, e.onHashProgress)
                        },
                        multipartUpload: function(e, t) {
                            var n = this;
                            o.getFileSize("multipartUpload", e, function() {
                                var r = e.tracker,
                                    i = n.options.UploadCheckContentMd5;
                                i && r && r.setParams({
                                    md5StartTime: (new Date).getTime()
                                }), o.getBodyMd5(i, e.Body, function(a) {
                                    a && (e.Headers["Content-MD5"] = o.binaryBase64(a)), i && r && r.setParams({
                                        md5EndTime: (new Date).getTime()
                                    }), r && r.setParams({
                                        partNumber: e.PartNumber
                                    }), d.call(n, {
                                        Action: "name/cos:UploadPart",
                                        TaskId: e.TaskId,
                                        method: "PUT",
                                        Bucket: e.Bucket,
                                        Region: e.Region,
                                        Key: e.Key,
                                        qs: {
                                            partNumber: e.PartNumber,
                                            uploadId: e.UploadId
                                        },
                                        headers: e.Headers,
                                        onProgress: e.onProgress,
                                        body: e.Body || null,
                                        tracker: r
                                    }, function(e, n) {
                                        if (e) return r && r.parent && r.parent.setParams({
                                            errorNode: "multipartUpload"
                                        }), t(e);
                                        t(null, {
                                            ETag: o.attr(n.headers, "etag", ""),
                                            statusCode: n.statusCode,
                                            headers: n.headers
                                        })
                                    })
                                })
                            })
                        },
                        multipartComplete: function(e, t) {
                            for (var n = this, r = e.UploadId, i = e.Parts, a = e.tracker, c = 0, u = i.length; c < u; c++) i[c].ETag && 0 === i[c].ETag.indexOf('"') || (i[c].ETag = '"' + i[c].ETag + '"');
                            var l = o.json2xml({
                                CompleteMultipartUpload: {
                                    Part: i
                                }
                            });
                            l = l.replace(/\n\s*/g, "");
                            var f = e.Headers;
                            f["Content-Type"] = "application/xml", f["Content-MD5"] = o.binaryBase64(o.md5(l)), d.call(this, {
                                Action: "name/cos:CompleteMultipartUpload",
                                method: "POST",
                                Bucket: e.Bucket,
                                Region: e.Region,
                                Key: e.Key,
                                qs: {
                                    uploadId: r
                                },
                                body: l,
                                headers: f,
                                tracker: a
                            }, function(r, i) {
                                if (r) return a && a.parent && a.parent.setParams({
                                    errorNode: "multipartComplete"
                                }), t(r);
                                var c = s({
                                        ForcePathStyle: n.options.ForcePathStyle,
                                        protocol: n.options.Protocol,
                                        domain: n.options.Domain,
                                        bucket: e.Bucket,
                                        region: e.Region,
                                        object: e.Key,
                                        isLocation: !0
                                    }),
                                    u = i.CompleteMultipartUploadResult || {};
                                u.ProcessResults && u && u.ProcessResults && (u.UploadResult = {
                                    OriginalInfo: {
                                        Key: u.Key,
                                        Location: c,
                                        ETag: u.ETag,
                                        ImageInfo: u.ImageInfo
                                    },
                                    ProcessResults: u.ProcessResults
                                }, delete u.ImageInfo, delete u.ProcessResults);
                                var l = o.extend(u, {
                                    Location: c,
                                    statusCode: i.statusCode,
                                    headers: i.headers
                                });
                                t(null, l)
                            })
                        },
                        multipartList: function(e, t) {
                            var n = {};
                            n.delimiter = e.Delimiter, n["encoding-type"] = e.EncodingType, n.prefix = e.Prefix || "", n["max-uploads"] = e.MaxUploads, n["key-marker"] = e.KeyMarker, n["upload-id-marker"] = e.UploadIdMarker, n = o.clearKey(n);
                            var r = e.tracker;
                            r && r.setParams({
                                signStartTime: (new Date).getTime()
                            }), d.call(this, {
                                Action: "name/cos:ListMultipartUploads",
                                ResourceKey: n.prefix,
                                method: "GET",
                                Bucket: e.Bucket,
                                Region: e.Region,
                                headers: e.Headers,
                                qs: n,
                                action: "uploads",
                                tracker: r
                            }, function(e, n) {
                                if (e) return r && r.parent && r.parent.setParams({
                                    errorNode: "multipartList"
                                }), t(e);
                                if (n && n.ListMultipartUploadsResult) {
                                    var i = n.ListMultipartUploadsResult.Upload || [];
                                    i = o.isArray(i) ? i : [i], n.ListMultipartUploadsResult.Upload = i
                                }
                                var a = o.clone(n.ListMultipartUploadsResult || {});
                                o.extend(a, {
                                    statusCode: n.statusCode,
                                    headers: n.headers
                                }), t(null, a)
                            })
                        },
                        multipartListPart: function(e, t) {
                            var n = {},
                                r = e.tracker;
                            n.uploadId = e.UploadId, n["encoding-type"] = e.EncodingType, n["max-parts"] = e.MaxParts, n["part-number-marker"] = e.PartNumberMarker, d.call(this, {
                                Action: "name/cos:ListParts",
                                method: "GET",
                                Bucket: e.Bucket,
                                Region: e.Region,
                                Key: e.Key,
                                headers: e.Headers,
                                qs: n
                            }, function(e, n) {
                                if (e) return r && r.parent && r.parent.setParams({
                                    errorNode: "multipartListPart"
                                }), t(e);
                                var i = n.ListPartsResult || {},
                                    a = i.Part || [];
                                a = o.isArray(a) ? a : [a], i.Part = a;
                                var s = o.clone(i);
                                o.extend(s, {
                                    statusCode: n.statusCode,
                                    headers: n.headers
                                }), t(null, s)
                            })
                        },
                        multipartAbort: function(e, t) {
                            var n = {};
                            n.uploadId = e.UploadId, d.call(this, {
                                Action: "name/cos:AbortMultipartUpload",
                                method: "DELETE",
                                Bucket: e.Bucket,
                                Region: e.Region,
                                Key: e.Key,
                                headers: e.Headers,
                                qs: n
                            }, function(e, n) {
                                if (e) return t(e);
                                t(null, {
                                    statusCode: n.statusCode,
                                    headers: n.headers
                                })
                            })
                        },
                        request: function(e, t) {
                            d.call(this, {
                                method: e.Method,
                                Bucket: e.Bucket,
                                Region: e.Region,
                                Key: e.Key,
                                action: e.Action,
                                headers: e.Headers,
                                qs: e.Query,
                                body: e.Body,
                                Url: e.Url,
                                rawBody: e.RawBody,
                                DataType: e.DataType
                            }, function(e, n) {
                                if (e) return t(e);
                                n && n.body && (n.Body = n.body, delete n.body), t(e, n)
                            })
                        },
                        getObjectUrl: function(e, t) {
                            var n = this,
                                r = void 0 === e.UseAccelerate ? n.options.UseAccelerate : e.UseAccelerate,
                                i = s({
                                    ForcePathStyle: n.options.ForcePathStyle,
                                    protocol: e.Protocol || n.options.Protocol,
                                    domain: e.Domain || n.options.Domain,
                                    bucket: e.Bucket,
                                    region: r ? "accelerate" : e.Region,
                                    object: e.Key
                                }),
                                a = "";
                            e.Query && (a += o.obj2str(e.Query)), e.QueryString && (a += (a ? "&" : "") + e.QueryString);
                            var l = i;
                            if (void 0 !== e.Sign && !e.Sign) return a && (l += "?" + a), t(null, {
                                Url: l
                            }), l;
                            var d = c.call(this, {
                                    Bucket: e.Bucket,
                                    Region: e.Region,
                                    UseAccelerate: e.UseAccelerate,
                                    Url: i
                                }),
                                f = u.call(this, {
                                    Action: "PUT" === (e.Method || "").toUpperCase() ? "name/cos:PutObject" : "name/cos:GetObject",
                                    Bucket: e.Bucket || "",
                                    Region: e.Region || "",
                                    Method: e.Method || "get",
                                    Key: e.Key,
                                    Expires: e.Expires,
                                    Headers: e.Headers,
                                    Query: e.Query,
                                    SignHost: d,
                                    ForceSignHost: !1 !== e.ForceSignHost && n.options.ForceSignHost
                                }, function(e, n) {
                                    if (t)
                                        if (e) t(e);
                                        else {
                                            var r = i;
                                            r += "?" + (n.Authorization.indexOf("q-signature") > -1 ? function(e) {
                                                var t = e.match(/q-url-param-list.*?(?=&)/g)[0],
                                                    n = "q-url-param-list=" + encodeURIComponent(t.replace(/q-url-param-list=/, "")).toLowerCase(),
                                                    r = new RegExp(t, "g");
                                                return e.replace(r, n)
                                            }(n.Authorization) : "sign=" + encodeURIComponent(n.Authorization)), n.SecurityToken && (r += "&x-cos-security-token=" + n.SecurityToken), n.ClientIP && (r += "&clientIP=" + n.ClientIP), n.ClientUA && (r += "&clientUA=" + n.ClientUA), n.Token && (r += "&token=" + n.Token), a && (r += "&" + a), setTimeout(function() {
                                                t(null, {
                                                    Url: r
                                                })
                                            })
                                        }
                                });
                            return f ? (l += "?" + f.Authorization + (f.SecurityToken ? "&x-cos-security-token=" + f.SecurityToken : ""), a && (l += "&" + a)) : a && (l += "?" + a), l
                        },
                        getAuth: function(e) {
                            return o.getAuth({
                                SecretId: e.SecretId || this.options.SecretId || "",
                                SecretKey: e.SecretKey || this.options.SecretKey || "",
                                Bucket: e.Bucket,
                                Region: e.Region,
                                Method: e.Method,
                                Key: e.Key,
                                Query: e.Query,
                                Headers: e.Headers,
                                Expires: e.Expires,
                                UseRawKey: this.options.UseRawKey,
                                SystemClockOffset: this.options.SystemClockOffset
                            })
                        }
                    };
                    e.exports.init = function(e, t) {
                        t.transferToTaskMethod(p, "putObject"), o.each(p, function(t, n) {
                            e.prototype[n] = o.apiWrapper(n, t),
                                function(e, t, n) {
                                    o.each(["Cors", "Acl"], function(r) {
                                        if (e.slice(-r.length) === r) {
                                            var i = e.slice(0, -r.length) + r.toUpperCase(),
                                                a = o.apiWrapper(e, t);
                                            n[i] = function() {
                                                a.apply(this, arguments)
                                            }
                                        }
                                    })
                                }(n, t, e.prototype)
                        })
                    }
                }, function(e, t, n) {
                    var r = n(0),
                        o = function(e) {
                            switch (r(e)) {
                                case "string":
                                    return e;
                                case "boolean":
                                    return e ? "true" : "false";
                                case "number":
                                    return isFinite(e) ? e : "";
                                default:
                                    return ""
                            }
                        },
                        i = function(e, t, n) {
                            var r = {};
                            return t.getAllResponseHeaders().trim().split("\n").forEach(function(e) {
                                if (e) {
                                    var t = e.indexOf(":"),
                                        n = e.substr(0, t).trim().toLowerCase(),
                                        o = e.substr(t + 1).trim();
                                    r[n] = o
                                }
                            }), {
                                error: e,
                                statusCode: t.status,
                                statusMessage: t.statusText,
                                headers: r,
                                body: n
                            }
                        },
                        a = function(e, t) {
                            return t || "text" !== t ? e.response : e.responseText
                        };
                    e.exports = function(e, t) {
                        var n, s, c, u = (e.method || "GET").toUpperCase(),
                            l = e.url;
                        if (e.qs) {
                            var d = (n = e.qs, s = s || "&", c = c || "=", null === n && (n = void 0), "object" === r(n) ? __WEBPACK_IMPORTED_MODULE_5_babel_runtime_core_js_object_keys___default()(n).map(function(e) {
                                var t = encodeURIComponent(o(e)) + c;
                                return Array.isArray(n[e]) ? n[e].map(function(e) {
                                    return t + encodeURIComponent(o(e))
                                }).join(s) : t + encodeURIComponent(o(n[e]))
                            }).filter(Boolean).join(s) : "");
                            d && (l += (-1 === l.indexOf("?") ? "?" : "&") + d)
                        }
                        var f = new XMLHttpRequest;
                        if (f.open(u, l, !0), f.responseType = e.dataType || "text", e.xhrFields)
                            for (var p in e.xhrFields) f[p] = e.xhrFields[p];
                        var h = e.headers;
                        if (h)
                            for (var _ in h) h.hasOwnProperty(_) && "content-length" !== _.toLowerCase() && "user-agent" !== _.toLowerCase() && "origin" !== _.toLowerCase() && "host" !== _.toLowerCase() && f.setRequestHeader(_, h[_]);
                        return e.onProgress && f.upload && (f.upload.onprogress = e.onProgress), e.onDownloadProgress && (f.onprogress = e.onDownloadProgress), e.timeout && (f.timeout = e.timeout), f.ontimeout = function(e) {
                            var n = new Error("timeout");
                            t(i(n, f))
                        }, f.onload = function() {
                            t(i(null, f, a(f, e.dataType)))
                        }, f.onerror = function(n) {
                            var r = a(f, e.dataType);
                            if (r) t(i(null, f, r));
                            else {
                                var o = f.statusText;
                                o || 0 !== f.status || (o = new Error("CORS blocked or network error")), t(i(o, f, r))
                            }
                        }, f.send(e.body || ""), f
                    }
                }, function(e, t, n) {
                    var r = n(0),
                        o = n(10),
                        i = n(29),
                        a = n(9).EventProxy,
                        s = n(1),
                        c = n(7);

                    function u(e, t) {
                        var n = e.TaskId,
                            r = e.Bucket,
                            c = e.Region,
                            u = e.Key,
                            f = e.StorageClass,
                            p = this,
                            h = {},
                            _ = e.FileSize,
                            m = e.SliceSize,
                            g = Math.ceil(_ / m),
                            y = 0,
                            v = s.throttleOnProgress.call(p, _, e.onHashProgress),
                            b = function(t, n) {
                                var r = t.length;
                                return 0 === r ? n(null, !0) : r > g ? n(null, !1) : r > 1 && Math.max(t[0].Size, t[1].Size) !== m ? n(null, !1) : void
                                function o(i) {
                                    if (i < r) {
                                        var a = t[i];
                                        ! function(t, n) {
                                            var r = m * (t - 1),
                                                o = Math.min(r + m, _),
                                                i = o - r;
                                            h[t] ? n(null, {
                                                PartNumber: t,
                                                ETag: h[t],
                                                Size: i
                                            }) : s.fileSlice(e.Body, r, o, !1, function(e) {
                                                s.getFileMd5(e, function(e, r) {
                                                    if (e) return n(s.error(e));
                                                    var o = '"' + r + '"';
                                                    h[t] = o, v({
                                                        loaded: y += i,
                                                        total: _
                                                    }), n(null, {
                                                        PartNumber: t,
                                                        ETag: o,
                                                        Size: i
                                                    })
                                                })
                                            })
                                        }(a.PartNumber, function(e, t) {
                                            t && t.ETag === a.ETag && t.Size === a.Size ? o(i + 1) : n(null, !1)
                                        })
                                    } else n(null, !0)
                                }(0)
                            },
                            C = new a;
                        C.on("error", function(e) {
                            if (p._isRunningTask(n)) return t(e)
                        }), C.on("upload_id_available", function(e) {
                            var n = {},
                                r = [];
                            s.each(e.PartList, function(e) {
                                n[e.PartNumber] = e
                            });
                            for (var o = 1; o <= g; o++) {
                                var i = n[o];
                                i ? (i.PartNumber = o, i.Uploaded = !0) : i = {
                                    PartNumber: o,
                                    ETag: null,
                                    Uploaded: !1
                                }, r.push(i)
                            }
                            e.PartList = r, t(null, e)
                        }), C.on("no_available_upload_id", function() {
                            if (p._isRunningTask(n)) {
                                var o = s.extend({
                                        Bucket: r,
                                        Region: c,
                                        Key: u,
                                        Query: s.clone(e.Query),
                                        StorageClass: f,
                                        Body: e.Body,
                                        calledBySdk: "sliceUploadFile",
                                        tracker: e.tracker
                                    }, e),
                                    i = s.clone(e.Headers);
                                delete i["x-cos-mime-limit"], o.Headers = i, p.multipartInit(o, function(e, r) {
                                    if (p._isRunningTask(n)) {
                                        if (e) return C.emit("error", e);
                                        var o = r.UploadId;
                                        if (!o) return t(s.error(new Error("no such upload id")));
                                        C.emit("upload_id_available", {
                                            UploadId: o,
                                            PartList: []
                                        })
                                    }
                                })
                            }
                        }), C.on("has_and_check_upload_id", function(t) {
                            t = t.reverse(), i.eachLimit(t, 1, function(t, i) {
                                p._isRunningTask(n) && (o.using[t] ? i() : d.call(p, {
                                    Bucket: r,
                                    Region: c,
                                    Key: u,
                                    UploadId: t,
                                    tracker: e.tracker
                                }, function(e, r) {
                                    if (p._isRunningTask(n)) {
                                        if (e) return o.removeUsing(t), C.emit("error", e);
                                        var a = r.PartList;
                                        a.forEach(function(e) {
                                            e.PartNumber *= 1, e.Size *= 1, e.ETag = e.ETag || ""
                                        }), b(a, function(e, r) {
                                            if (p._isRunningTask(n)) return e ? C.emit("error", e) : void(r ? i({
                                                UploadId: t,
                                                PartList: a
                                            }) : i())
                                        })
                                    }
                                }))
                            }, function(e) {
                                p._isRunningTask(n) && (v(null, !0), e && e.UploadId ? C.emit("upload_id_available", e) : C.emit("no_available_upload_id"))
                            })
                        }), C.on("seek_local_avail_upload_id", function(t) {
                            var i = o.getFileId(e.Body, e.ChunkSize, r, u),
                                a = o.getUploadIdList.call(p, i);
                            i && a ? function i(l) {
                                if (l >= a.length) C.emit("has_and_check_upload_id", t);
                                else {
                                    var f = a[l];
                                    if (!s.isInArray(t, f)) return o.removeUploadId.call(p, f), void i(l + 1);
                                    o.using[f] ? i(l + 1) : d.call(p, {
                                        Bucket: r,
                                        Region: c,
                                        Key: u,
                                        UploadId: f,
                                        tracker: e.tracker
                                    }, function(e, t) {
                                        p._isRunningTask(n) && (e ? (o.removeUploadId.call(p, f), i(l + 1)) : C.emit("upload_id_available", {
                                            UploadId: f,
                                            PartList: t.PartList
                                        }))
                                    })
                                }
                            }(0) : C.emit("has_and_check_upload_id", t)
                        }), C.on("get_remote_upload_id_list", function() {
                            l.call(p, {
                                Bucket: r,
                                Region: c,
                                Key: u,
                                tracker: e.tracker
                            }, function(t, i) {
                                if (p._isRunningTask(n)) {
                                    if (t) return C.emit("error", t);
                                    var a = s.filter(i.UploadList, function(e) {
                                        return e.Key === u && (!f || e.StorageClass.toUpperCase() === f.toUpperCase())
                                    }).reverse().map(function(e) {
                                        return e.UploadId || e.UploadID
                                    });
                                    if (a.length) C.emit("seek_local_avail_upload_id", a);
                                    else {
                                        var c, l = o.getFileId(e.Body, e.ChunkSize, r, u);
                                        l && (c = o.getUploadIdList.call(p, l)) && s.each(c, function(e) {
                                            o.removeUploadId.call(p, e)
                                        }), C.emit("no_available_upload_id")
                                    }
                                }
                            })
                        }), C.emit("get_remote_upload_id_list")
                    }

                    function l(e, t) {
                        var n = this,
                            r = [],
                            o = {
                                Bucket: e.Bucket,
                                Region: e.Region,
                                Prefix: e.Key,
                                calledBySdk: e.calledBySdk || "sliceUploadFile",
                                tracker: e.tracker
                            };
                        ! function e() {
                            n.multipartList(o, function(n, i) {
                                if (n) return t(n);
                                r.push.apply(r, i.Upload || []), "true" === i.IsTruncated ? (o.KeyMarker = i.NextKeyMarker, o.UploadIdMarker = i.NextUploadIdMarker, e()) : t(null, {
                                    UploadList: r
                                })
                            })
                        }()
                    }

                    function d(e, t) {
                        var n = this,
                            r = [],
                            o = {
                                Bucket: e.Bucket,
                                Region: e.Region,
                                Key: e.Key,
                                UploadId: e.UploadId,
                                calledBySdk: "sliceUploadFile",
                                tracker: e.tracker
                            };
                        ! function e() {
                            n.multipartListPart(o, function(n, i) {
                                if (n) return t(n);
                                r.push.apply(r, i.Part || []), "true" === i.IsTruncated ? (o.PartNumberMarker = i.NextPartNumberMarker, e()) : t(null, {
                                    PartList: r
                                })
                            })
                        }()
                    }

                    function f(e, t) {
                        var n = this,
                            r = e.TaskId,
                            o = e.Bucket,
                            a = e.Region,
                            c = e.Key,
                            u = e.UploadData,
                            l = e.FileSize,
                            d = e.SliceSize,
                            f = Math.min(e.AsyncLimit || n.options.ChunkParallelLimit || 1, 256),
                            h = e.Body,
                            _ = Math.ceil(l / d),
                            m = 0,
                            g = e.ServerSideEncryption,
                            y = e.Headers,
                            v = s.filter(u.PartList, function(e) {
                                return e.Uploaded && (m += e.PartNumber >= _ && l % d || d), !e.Uploaded
                            }),
                            b = e.onProgress;
                        i.eachLimit(v, f, function(t, i) {
                            if (n._isRunningTask(r)) {
                                var s = t.PartNumber,
                                    f = Math.min(l, t.PartNumber * d) - (t.PartNumber - 1) * d,
                                    _ = 0;
                                p.call(n, {
                                    TaskId: r,
                                    Bucket: o,
                                    Region: a,
                                    Key: c,
                                    SliceSize: d,
                                    FileSize: l,
                                    PartNumber: s,
                                    ServerSideEncryption: g,
                                    Body: h,
                                    UploadData: u,
                                    Headers: y,
                                    onProgress: function(e) {
                                        m += e.loaded - _, _ = e.loaded, b({
                                            loaded: m,
                                            total: l
                                        })
                                    },
                                    tracker: e.tracker
                                }, function(e, o) {
                                    n._isRunningTask(r) && (e || o.ETag || (e = 'get ETag error, please add "ETag" to CORS ExposeHeader setting.( 获取ETag失败，请在CORS ExposeHeader设置中添加ETag，请参考文档：https://cloud.tencent.com/document/product/436/13318 )'), e ? m -= _ : (m += f - _, t.ETag = o.ETag), b({
                                        loaded: m,
                                        total: l
                                    }), i(e || null, o))
                                })
                            }
                        }, function(e) {
                            if (n._isRunningTask(r)) return e ? t(e) : void t(null, {
                                UploadId: u.UploadId,
                                SliceList: u.PartList
                            })
                        })
                    }

                    function p(e, t) {
                        var n = this,
                            r = e.TaskId,
                            o = e.Bucket,
                            a = e.Region,
                            c = e.Key,
                            u = e.FileSize,
                            l = e.Body,
                            d = 1 * e.PartNumber,
                            f = e.SliceSize,
                            p = e.ServerSideEncryption,
                            h = e.UploadData,
                            _ = e.Headers || {},
                            m = n.options.ChunkRetryTimes + 1,
                            g = f * (d - 1),
                            y = f,
                            v = g + f;
                        v > u && (y = (v = u) - g);
                        var b = ["x-cos-traffic-limit", "x-cos-mime-limit"],
                            C = {};
                        s.each(_, function(e, t) {
                            b.indexOf(t) > -1 && (C[t] = e)
                        });
                        var E = h.PartList[d - 1];
                        i.retry(m, function(t) {
                            n._isRunningTask(r) && s.fileSlice(l, g, v, !0, function(i) {
                                n.multipartUpload({
                                    TaskId: r,
                                    Bucket: o,
                                    Region: a,
                                    Key: c,
                                    ContentLength: y,
                                    PartNumber: d,
                                    UploadId: h.UploadId,
                                    ServerSideEncryption: p,
                                    Body: i,
                                    Headers: C,
                                    onProgress: e.onProgress,
                                    calledBySdk: "sliceUploadFile",
                                    tracker: e.tracker
                                }, function(e, o) {
                                    if (n._isRunningTask(r)) return e ? t(e) : (E.Uploaded = !0, t(null, o))
                                })
                            })
                        }, function(e, o) {
                            if (n._isRunningTask(r)) return t(e, o)
                        })
                    }

                    function h(e, t) {
                        var n = e.Bucket,
                            r = e.Region,
                            o = e.Key,
                            a = e.UploadId,
                            s = e.SliceList,
                            c = this,
                            u = this.options.ChunkRetryTimes + 1,
                            l = e.Headers,
                            d = s.map(function(e) {
                                return {
                                    PartNumber: e.PartNumber,
                                    ETag: e.ETag
                                }
                            });
                        i.retry(u, function(t) {
                            c.multipartComplete({
                                Bucket: n,
                                Region: r,
                                Key: o,
                                UploadId: a,
                                Parts: d,
                                Headers: l,
                                calledBySdk: "sliceUploadFile",
                                tracker: e.tracker
                            }, t)
                        }, function(e, n) {
                            t(e, n)
                        })
                    }

                    function _(e, t) {
                        var n = e.Bucket,
                            r = e.Region,
                            o = e.Key,
                            a = e.AbortArray,
                            s = e.AsyncLimit || 1,
                            c = this,
                            u = 0,
                            l = new Array(a.length);
                        i.eachLimit(a, s, function(t, i) {
                            var a = u;
                            if (o && o !== t.Key) return l[a] = {
                                error: {
                                    KeyNotMatch: !0
                                }
                            }, void i(null);
                            var s = t.UploadId || t.UploadID;
                            c.multipartAbort({
                                Bucket: n,
                                Region: r,
                                Key: t.Key,
                                Headers: e.Headers,
                                UploadId: s
                            }, function(e) {
                                var o = {
                                    Bucket: n,
                                    Region: r,
                                    Key: t.Key,
                                    UploadId: s
                                };
                                l[a] = {
                                    error: e,
                                    task: o
                                }, i(null)
                            }), u++
                        }, function(e) {
                            if (e) return t(e);
                            for (var n = [], r = [], o = 0, i = l.length; o < i; o++) {
                                var a = l[o];
                                a.task && (a.error ? r.push(a.task) : n.push(a.task))
                            }
                            return t(null, {
                                successList: n,
                                errorList: r
                            })
                        })
                    }
                    var m = {
                        sliceUploadFile: function(e, t) {
                            var n, r, i = this,
                                c = new a,
                                l = e.TaskId,
                                d = e.Bucket,
                                p = e.Region,
                                _ = e.Key,
                                m = e.Body,
                                g = e.ChunkSize || e.SliceSize || i.options.ChunkSize,
                                y = e.AsyncLimit,
                                v = e.StorageClass,
                                b = e.ServerSideEncryption,
                                C = e.onHashProgress,
                                E = e.tracker;
                            E && E.setParams({
                                    chunkSize: g
                                }), c.on("error", function(n) {
                                    if (i._isRunningTask(l)) return n.UploadId = e.UploadData.UploadId || "", t(n)
                                }), c.on("upload_complete", function(n) {
                                    var r = s.extend({
                                        UploadId: e.UploadData.UploadId || ""
                                    }, n);
                                    t(null, r)
                                }), c.on("upload_slice_complete", function(t) {
                                    var a = {};
                                    s.each(e.Headers, function(e, t) {
                                        var n = t.toLowerCase();
                                        0 !== n.indexOf("x-cos-meta-") && "pic-operations" !== n || (a[t] = e)
                                    }), h.call(i, {
                                        Bucket: d,
                                        Region: p,
                                        Key: _,
                                        UploadId: t.UploadId,
                                        SliceList: t.SliceList,
                                        Headers: a,
                                        tracker: E
                                    }, function(e, a) {
                                        if (i._isRunningTask(l)) {
                                            if (o.removeUsing(t.UploadId), e) return r(null, !0), c.emit("error", e);
                                            o.removeUploadId.call(i, t.UploadId), r({
                                                loaded: n,
                                                total: n
                                            }, !0), c.emit("upload_complete", a)
                                        }
                                    })
                                }), c.on("get_upload_data_finish", function(t) {
                                    var a = o.getFileId(m, e.ChunkSize, d, _);
                                    a && o.saveUploadId.call(i, a, t.UploadId, i.options.UploadIdCacheLimit), o.setUsing(t.UploadId), r(null, !0), f.call(i, {
                                        TaskId: l,
                                        Bucket: d,
                                        Region: p,
                                        Key: _,
                                        Body: m,
                                        FileSize: n,
                                        SliceSize: g,
                                        AsyncLimit: y,
                                        ServerSideEncryption: b,
                                        UploadData: t,
                                        Headers: e.Headers,
                                        onProgress: r,
                                        tracker: E
                                    }, function(e, t) {
                                        if (i._isRunningTask(l)) return e ? (r(null, !0), c.emit("error", e)) : void c.emit("upload_slice_complete", t)
                                    })
                                }), c.on("get_file_size_finish", function() {
                                    if (r = s.throttleOnProgress.call(i, n, e.onProgress), e.UploadData.UploadId) c.emit("get_upload_data_finish", e.UploadData);
                                    else {
                                        var t = s.extend({
                                            TaskId: l,
                                            Bucket: d,
                                            Region: p,
                                            Key: _,
                                            Headers: e.Headers,
                                            StorageClass: v,
                                            Body: m,
                                            FileSize: n,
                                            SliceSize: g,
                                            onHashProgress: C,
                                            tracker: E
                                        }, e);
                                        u.call(i, t, function(t, n) {
                                            if (i._isRunningTask(l)) {
                                                if (t) return c.emit("error", t);
                                                e.UploadData.UploadId = n.UploadId, e.UploadData.PartList = n.PartList, c.emit("get_upload_data_finish", e.UploadData)
                                            }
                                        })
                                    }
                                }), n = e.ContentLength, delete e.ContentLength, !e.Headers && (e.Headers = {}), s.each(e.Headers, function(t, n) {
                                    "content-length" === n.toLowerCase() && delete e.Headers[n]
                                }),
                                function() {
                                    for (var t = [1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 5120], r = 1048576, o = 0; o < t.length && !(n / (r = 1024 * t[o] * 1024) <= i.options.MaxPartNumber); o++);
                                    e.ChunkSize = e.SliceSize = g = Math.max(g, r)
                                }(), 0 === n ? (e.Body = "", e.ContentLength = 0, e.SkipTask = !0, i.putObject(e, t)) : c.emit("get_file_size_finish")
                        },
                        abortUploadTask: function(e, t) {
                            var n = e.Bucket,
                                r = e.Region,
                                o = e.Key,
                                i = e.UploadId,
                                c = e.Level || "task",
                                u = e.AsyncLimit,
                                d = this,
                                f = new a;
                            if (f.on("error", function(e) {
                                    return t(e)
                                }), f.on("get_abort_array", function(i) {
                                    _.call(d, {
                                        Bucket: n,
                                        Region: r,
                                        Key: o,
                                        Headers: e.Headers,
                                        AsyncLimit: u,
                                        AbortArray: i
                                    }, t)
                                }), "bucket" === c) l.call(d, {
                                Bucket: n,
                                Region: r,
                                calledBySdk: "abortUploadTask"
                            }, function(e, n) {
                                if (e) return t(e);
                                f.emit("get_abort_array", n.UploadList || [])
                            });
                            else if ("file" === c) {
                                if (!o) return t(s.error(new Error("abort_upload_task_no_key")));
                                l.call(d, {
                                    Bucket: n,
                                    Region: r,
                                    Key: o,
                                    calledBySdk: "abortUploadTask"
                                }, function(e, n) {
                                    if (e) return t(e);
                                    f.emit("get_abort_array", n.UploadList || [])
                                })
                            } else {
                                if ("task" !== c) return t(s.error(new Error("abort_unknown_level")));
                                if (!i) return t(s.error(new Error("abort_upload_task_no_id")));
                                if (!o) return t(s.error(new Error("abort_upload_task_no_key")));
                                f.emit("get_abort_array", [{
                                    Key: o,
                                    UploadId: i
                                }])
                            }
                        },
                        uploadFile: function(e, t) {
                            var n = this,
                                o = void 0 === e.SliceSize ? n.options.SliceSize : e.SliceSize,
                                i = [],
                                a = e.Body,
                                u = a.size || a.length || 0,
                                l = {
                                    TaskId: ""
                                };
                            if (n.options.EnableTracker) {
                                var d = n.options.UseAccelerate || n.options.Domain && n.options.Domain.includes("accelerate.");
                                e.tracker = new c({
                                    bucket: e.Bucket,
                                    region: e.Region,
                                    apiName: "uploadFile",
                                    fileKey: e.Key,
                                    fileSize: u,
                                    accelerate: d,
                                    deepTracker: n.options.DeepTracker,
                                    customId: n.options.CustomId,
                                    delay: n.options.TrackerDelay
                                })
                            }
                            s.each(e, function(e, t) {
                                "object" !== r(e) && "function" != typeof e && (l[t] = e)
                            });
                            var f = e.onTaskReady;
                            e.onTaskReady = function(e) {
                                l.TaskId = e, f && f(e)
                            };
                            var p = u > o ? "sliceUploadFile" : "putObject",
                                h = e.onFileFinish;
                            i.push({
                                api: p,
                                params: e,
                                callback: function(n, r) {
                                    e.tracker && e.tracker.formatResult(n, r), h && h(n, r, l), t && t(n, r)
                                }
                            }), n._addTasks(i)
                        },
                        uploadFiles: function(e, t) {
                            var n = this,
                                o = void 0 === e.SliceSize ? n.options.SliceSize : e.SliceSize,
                                i = 0,
                                a = 0,
                                u = s.throttleOnProgress.call(n, a, e.onProgress),
                                l = e.files.length,
                                d = e.onFileFinish,
                                f = Array(l),
                                p = function(e, n, r) {
                                    u(null, !0), d && d(e, n, r), f[r.Index] = {
                                        options: r,
                                        error: e,
                                        data: n
                                    }, --l <= 0 && t && t(null, {
                                        files: f
                                    })
                                },
                                h = [];
                            s.each(e.files, function(e, t) {
                                ! function() {
                                    var l = e.Body,
                                        d = l.size || l.length || 0,
                                        f = {
                                            Index: t,
                                            TaskId: ""
                                        };
                                    if (i += d, n.options.EnableTracker) {
                                        var _ = n.options.UseAccelerate || n.options.Domain && n.options.Domain.includes("accelerate.");
                                        e.tracker = new c({
                                            bucket: e.Bucket,
                                            region: e.Region,
                                            apiName: "uploadFiles",
                                            fileKey: e.Key,
                                            fileSize: d,
                                            accelerate: _,
                                            deepTracker: n.options.DeepTracker,
                                            customId: n.options.CustomId,
                                            delay: n.options.TrackerDelay
                                        })
                                    }
                                    s.each(e, function(e, t) {
                                        "object" !== r(e) && "function" != typeof e && (f[t] = e)
                                    });
                                    var m = e.onTaskReady;
                                    e.onTaskReady = function(e) {
                                        f.TaskId = e, m && m(e)
                                    };
                                    var g = 0,
                                        y = e.onProgress;
                                    e.onProgress = function(e) {
                                        a = a - g + e.loaded, g = e.loaded, y && y(e), u({
                                            loaded: a,
                                            total: i
                                        })
                                    };
                                    var v = d > o ? "sliceUploadFile" : "putObject",
                                        b = e.onFileFinish;
                                    h.push({
                                        api: v,
                                        params: e,
                                        callback: function(t, n) {
                                            e.tracker && e.tracker.formatResult(t, n), b && b(t, n), p && p(t, n, f)
                                        }
                                    })
                                }()
                            }), n._addTasks(h)
                        },
                        sliceCopyFile: function(e, t) {
                            var n = new a,
                                r = this,
                                c = e.Bucket,
                                u = e.Region,
                                l = e.Key,
                                f = e.CopySource,
                                p = s.getSourceParams.call(this, f);
                            if (p) {
                                var h = p.Bucket,
                                    _ = p.Region,
                                    m = decodeURIComponent(p.Key),
                                    g = void 0 === e.CopySliceSize ? r.options.CopySliceSize : e.CopySliceSize;
                                g = Math.max(0, g);
                                var y, v, b = e.CopyChunkSize || this.options.CopyChunkSize,
                                    C = this.options.CopyChunkParallelLimit,
                                    E = this.options.ChunkRetryTimes + 1,
                                    w = 0,
                                    k = 0,
                                    T = {},
                                    O = {},
                                    x = {};
                                n.on("copy_slice_complete", function(n) {
                                    var a = {};
                                    s.each(e.Headers, function(e, t) {
                                        0 === t.toLowerCase().indexOf("x-cos-meta-") && (a[t] = e)
                                    });
                                    var d = s.map(n.PartList, function(e) {
                                        return {
                                            PartNumber: e.PartNumber,
                                            ETag: e.ETag
                                        }
                                    });
                                    i.retry(E, function(e) {
                                        r.multipartComplete({
                                            Bucket: c,
                                            Region: u,
                                            Key: l,
                                            UploadId: n.UploadId,
                                            Parts: d,
                                            calledBySdk: "sliceCopyFile"
                                        }, e)
                                    }, function(e, r) {
                                        if (o.removeUsing(n.UploadId), e) return v(null, !0), t(e);
                                        o.removeUploadId(n.UploadId), v({
                                            loaded: y,
                                            total: y
                                        }, !0), t(null, r)
                                    })
                                }), n.on("get_copy_data_finish", function(e) {
                                    var a = o.getCopyFileId(f, T, b, c, l);
                                    a && o.saveUploadId(a, e.UploadId, r.options.UploadIdCacheLimit), o.setUsing(e.UploadId);
                                    var d = s.filter(e.PartList, function(e) {
                                        return e.Uploaded && (k += e.PartNumber >= w && y % b || b), !e.Uploaded
                                    });
                                    i.eachLimit(d, C, function(t, n) {
                                        var o = t.PartNumber,
                                            a = t.CopySourceRange,
                                            s = t.end - t.start;
                                        i.retry(E, function(t) {
                                            (function(e, t) {
                                                var n = e.TaskId,
                                                    r = e.Bucket,
                                                    o = e.Region,
                                                    a = e.Key,
                                                    s = e.CopySource,
                                                    c = e.UploadId,
                                                    u = 1 * e.PartNumber,
                                                    l = e.CopySourceRange,
                                                    d = this.options.ChunkRetryTimes + 1,
                                                    f = this;
                                                i.retry(d, function(e) {
                                                    f.uploadPartCopy({
                                                        TaskId: n,
                                                        Bucket: r,
                                                        Region: o,
                                                        Key: a,
                                                        CopySource: s,
                                                        UploadId: c,
                                                        PartNumber: u,
                                                        CopySourceRange: l
                                                    }, function(t, n) {
                                                        e(t || null, n)
                                                    })
                                                }, function(e, n) {
                                                    return t(e, n)
                                                })
                                            }).call(r, {
                                                Bucket: c,
                                                Region: u,
                                                Key: l,
                                                CopySource: f,
                                                UploadId: e.UploadId,
                                                PartNumber: o,
                                                CopySourceRange: a
                                            }, t)
                                        }, function(e, r) {
                                            if (e) return n(e);
                                            v({
                                                loaded: k += s,
                                                total: y
                                            }), t.ETag = r.ETag, n(e || null, r)
                                        })
                                    }, function(r) {
                                        if (r) return o.removeUsing(e.UploadId), v(null, !0), t(r);
                                        n.emit("copy_slice_complete", e)
                                    })
                                }), n.on("get_chunk_size_finish", function() {
                                    var i = function() {
                                            r.multipartInit({
                                                Bucket: c,
                                                Region: u,
                                                Key: l,
                                                Headers: x
                                            }, function(r, o) {
                                                if (r) return t(r);
                                                e.UploadId = o.UploadId, n.emit("get_copy_data_finish", {
                                                    UploadId: e.UploadId,
                                                    PartList: e.PartList
                                                })
                                            })
                                        },
                                        a = o.getCopyFileId(f, T, b, c, l),
                                        p = o.getUploadIdList(a);
                                    if (!a || !p) return i();
                                    ! function t(a) {
                                        if (a >= p.length) return i();
                                        var f = p[a];
                                        if (o.using[f]) return t(a + 1);
                                        d.call(r, {
                                            Bucket: c,
                                            Region: u,
                                            Key: l,
                                            UploadId: f
                                        }, function(r, i) {
                                            if (r) o.removeUploadId(f), t(a + 1);
                                            else {
                                                if (o.using[f]) return t(a + 1);
                                                var c = {},
                                                    u = 0;
                                                s.each(i.PartList, function(e) {
                                                    var t = parseInt(e.Size),
                                                        n = u + t - 1;
                                                    c[e.PartNumber + "|" + u + "|" + n] = e.ETag, u += t
                                                }), s.each(e.PartList, function(e) {
                                                    var t = c[e.PartNumber + "|" + e.start + "|" + e.end];
                                                    t && (e.ETag = t, e.Uploaded = !0)
                                                }), n.emit("get_copy_data_finish", {
                                                    UploadId: f,
                                                    PartList: e.PartList
                                                })
                                            }
                                        })
                                    }(0)
                                }), n.on("get_file_size_finish", function() {
                                    if (function() {
                                            for (var t = [1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 5120], n = 1048576, o = 0; o < t.length && !(y / (n = 1024 * t[o] * 1024) <= r.options.MaxPartNumber); o++);
                                            e.ChunkSize = b = Math.max(b, n), w = Math.ceil(y / b);
                                            for (var i = [], a = 1; a <= w; a++) {
                                                var s = (a - 1) * b,
                                                    c = a * b < y ? a * b - 1 : y - 1,
                                                    u = {
                                                        PartNumber: a,
                                                        start: s,
                                                        end: c,
                                                        CopySourceRange: "bytes=" + s + "-" + c
                                                    };
                                                i.push(u)
                                            }
                                            e.PartList = i
                                        }(), (x = "Replaced" === e.Headers["x-cos-metadata-directive"] ? e.Headers : O)["x-cos-storage-class"] = e.Headers["x-cos-storage-class"] || O["x-cos-storage-class"], x = s.clearKey(x), "ARCHIVE" === O["x-cos-storage-class"] || "DEEP_ARCHIVE" === O["x-cos-storage-class"]) {
                                        var o = O["x-cos-restore"];
                                        if (!o || 'ongoing-request="true"' === o) return void t(s.error(new Error("Unrestored archive object is not allowed to be copied")))
                                    }
                                    delete x["x-cos-copy-source"], delete x["x-cos-metadata-directive"], delete x["x-cos-copy-source-If-Modified-Since"], delete x["x-cos-copy-source-If-Unmodified-Since"], delete x["x-cos-copy-source-If-Match"], delete x["x-cos-copy-source-If-None-Match"], n.emit("get_chunk_size_finish")
                                }), r.headObject({
                                    Bucket: h,
                                    Region: _,
                                    Key: m
                                }, function(o, i) {
                                    if (o) o.statusCode && 404 === o.statusCode ? t(s.error(o, {
                                        ErrorStatus: m + " Not Exist"
                                    })) : t(o);
                                    else if (void 0 !== (y = e.FileSize = i.headers["content-length"]) && y)
                                        if (v = s.throttleOnProgress.call(r, y, e.onProgress), y <= g) e.Headers["x-cos-metadata-directive"] || (e.Headers["x-cos-metadata-directive"] = "Copy"), r.putObjectCopy(e, function(e, n) {
                                            if (e) return v(null, !0), t(e);
                                            v({
                                                loaded: y,
                                                total: y
                                            }, !0), t(e, n)
                                        });
                                        else {
                                            var a = i.headers;
                                            T = a, O = {
                                                "Cache-Control": a["cache-control"],
                                                "Content-Disposition": a["content-disposition"],
                                                "Content-Encoding": a["content-encoding"],
                                                "Content-Type": a["content-type"],
                                                Expires: a.expires,
                                                "x-cos-storage-class": a["x-cos-storage-class"]
                                            }, s.each(a, function(e, t) {
                                                var n = "x-cos-meta-";
                                                0 === t.indexOf(n) && t.length > n.length && (O[t] = e)
                                            }), n.emit("get_file_size_finish")
                                        }
                                    else t(s.error(new Error('get Content-Length error, please add "Content-Length" to CORS ExposeHeader setting.（ 获取Content-Length失败，请在CORS ExposeHeader设置中添加Content-Length，请参考文档：https://cloud.tencent.com/document/product/436/13318 ）')))
                                })
                            } else t(s.error(new Error("CopySource format error")))
                        }
                    };
                    e.exports.init = function(e, t) {
                        t.transferToTaskMethod(m, "sliceUploadFile"), s.each(m, function(t, n) {
                            e.prototype[n] = s.apiWrapper(n, t)
                        })
                    }
                }, function(e, t) {
                    e.exports = {
                        eachLimit: function(e, t, n, r) {
                            if (r = r || function() {}, !e.length || t <= 0) return r();
                            var o = 0,
                                i = 0,
                                a = 0;
                            ! function s() {
                                if (o >= e.length) return r();
                                for (; a < t && i < e.length;) a += 1, n(e[(i += 1) - 1], function(t) {
                                    t ? (r(t), r = function() {}) : (a -= 1, (o += 1) >= e.length ? r() : s())
                                })
                            }()
                        },
                        retry: function(e, t, n) {
                            e < 1 ? n() : function r(o) {
                                t(function(t, i) {
                                    t && o < e ? r(o + 1) : n(t, i)
                                })
                            }(1)
                        }
                    }
                }])
            }, "object" == ("undefined" == typeof exports ? "undefined" : __WEBPACK_IMPORTED_MODULE_12_babel_runtime_helpers_typeof___default()(exports)) && "object" == __WEBPACK_IMPORTED_MODULE_12_babel_runtime_helpers_typeof___default()(module) ? module.exports = t() : "function" == typeof define && __webpack_require__("nErl") ? define([], t) : "object" == ("undefined" == typeof exports ? "undefined" : __WEBPACK_IMPORTED_MODULE_12_babel_runtime_helpers_typeof___default()(exports)) ? exports.COS = t() : e.COS = t()
        }).call(__webpack_exports__, __webpack_require__("f1Eh")(module))
    },
    u5Hq: function(e, t) {},
    uKbn: function(e, t) {},
    ukeg: function(e, t) {},
    vBcO: function(e, t) {},
    wJKS: function(e, t) {},
    xBlb: function(e, t) {}
}, ["NHnr"]);